You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I intend to check which concepts are satisfied. However, the line TEST_CONCEPT(SizedRange, decltype(rng)); (marked above) does not compile. I expect to see it compile and output false at run time.
Which one is at fault, my code, CMCSTL2, or GCC? I doubt it is GCC this time, but I would like to hear experts’ opinions.
The text was updated successfully, but these errors were encountered:
The problem is gone after I add const to the definition of pointer_type, reference, operator*, and operator->() of istream_line_reader::iterator (thanks to Eric’s help):
The following code shows a compilation problem:
I intend to check which concepts are satisfied. However, the line
TEST_CONCEPT(SizedRange, decltype(rng));
(marked above) does not compile. I expect to see it compile and outputfalse
at run time.Which one is at fault, my code, CMCSTL2, or GCC? I doubt it is GCC this time, but I would like to hear experts’ opinions.
The text was updated successfully, but these errors were encountered: