|
|
Thread Tools | Display Modes |
#661
|
|||
|
|||
Ghost didn't show a call to remove_whitespace_while_copying().
In sci.math, Jeff?Relf
wrote on 25 May 2007 04:46:49 GMT : I assumed your ( Ghost's ) code hadden't been tested because you didn't show a call to remove_whitespace_while_copying(). A point, if a minor one. What's more, in " wchar_t * endp = std::remove_copy_if(in, in+inlen, out, isspace); " it's not obvious to me that the combination of types you used are supported... Is that combination supported ? You are aware of templates, right? -- #191, Linux. Because life's too short for a buggy OS. -- Posted via a free Usenet account from http://www.teranews.com |
#662
|
|||
|
|||
How do I make the " LnP " implicit ?
The templates I've used required explicit parameters,
e.g. the " DiffLnP( * LnA( Prn_B ), 0, * LnA( Cmp_B ), 0, Color ); " ( mentioned at " " ) when calling: " template typename LnM Diff ( LnM BB_Klld, LnM EE_Klld, LnM BB_Born, LnM EE_Born , wchar_t Ch_Color ) { ". How do I make the " LnP " implicit ? |
#663
|
|||
|
|||
Relf is a Trope
Jeff…Relf wrote:
How do I make the " LnP " implicit ? Jeff, They got it wrong. You are not a "troll" -- you are a Trope. A repeated theme that appears in a drama -- like Flo coming on stage in the hit comedy series "Alice", and, in the middle of Mel's Dinner saying "Kiss My Grits". |
#664
|
|||
|
|||
How do I make the " LnP " implicit ?
In comp.os.linux.advocacy, Jeff?Relf
wrote on 25 May 2007 06:54:58 GMT : The templates I've used required explicit parameters, e.g. the " DiffLnP( * LnA( Prn_B ), 0, * LnA( Cmp_B ), 0, Color ); " ( mentioned at " " ) when calling: " template typename LnM Diff ( LnM BB_Klld, LnM EE_Klld, LnM BB_Born, LnM EE_Born , wchar_t Ch_Color ) { ". How do I make the " LnP " implicit ? You already have. Try just calling Diff( * LnA( Prn_B ), 0, * LnA( Cmp_B ), 0, Color ); The compiler should be smart enough to make the deduction. -- #191, Is it cheaper to learn Linux, or to hire someone to fix your Windows problems? -- Posted via a free Usenet account from http://www.teranews.com |
#665
|
|||
|
|||
Thanks Ghost.
Thanks Ghost... turns out you are useful after all.
Given this ( from " " ): " template typename LnM Diff( LnM BB_Klld, LnM EE_Klld, LnM BB_Born, LnM EE_Born , wchar_t Ch_Color ) { ". While " Diff( * LnA( Prn_B ), 0, * LnA( Cmp_B ), 0, Color ); " doesn't work, these do: " DiffLnP( * LnA( Prn_B ), 0, * LnA( Cmp_B ), 0, Color ); " " Diff( * LnA( Prn_B ), LnP( 0 ), * LnA( Cmp_B ), LnP( 0 ), Color ); ". |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dark energy or ether ?? | Sandesh | Astronomy Misc | 14 | March 15th 07 01:17 AM |
What is Ether Space? | Marshall Karp | Space Shuttle | 6 | October 23rd 06 10:43 AM |
~ Ether Patrol, Sailing Through ~ | Twittering One | Misc | 6 | January 2nd 05 06:39 PM |