Sunday, April 11, 2021

Digest for comp.lang.c++@googlegroups.com - 3 updates in 1 topic

Richard Harnden <richard.nospam@gmail.com>: Apr 11 09:05PM +0100

On 11/04/2021 20:06, alessio211734 wrote:
> }
 
> My code lose of readability but i don't know how to get around this
> problem.
 
Google groups can't handle '++'s ... get a proper newsreader.
Lew Pitcher <lew.pitcher@digitalfreehold.ca>: Apr 11 08:41PM

On Sun, 11 Apr 2021 21:05:27 +0100, Richard Harnden wrote:
 
 
>> example:
 
>> void myclass::myAlgorithm()
>> {
[snip]
 
> Google groups can't handle '++'s ... get a proper newsreader.
 
Yah. Google groups seems to require that the newsgroup name be URL-
encoded, but doesn't do it automagically. Posters have to manually post
to "comp.lang.c%2B%2B" instead of "comp.lang.c++"
 
 
 
--
Lew Pitcher
"In Skills, We Trust"
red floyd <no.spam.here@its.invalid>: Apr 11 04:11PM -0700

On 4/11/2021 1:05 PM, Richard Harnden wrote:
 
>>   My code lose of readability but i don't know how to get around this
>>   problem.
 
> Google groups can't handle '++'s ... get a proper newsreader.
 
How about using a template? Following is pseudocode, with types
elided... And should probably be encapsulated in whatever class
that iters is.
 
#ifdef TEST_ALGORITHM
constexpr bool is_test = true;
#else
constexpr bool is_test = false;

No comments: