User profile: gedamial

User info
User name:gedamial
History
Joined:
Number of posts:297
Latest posts:

Code works with Template Function but doesn't with Template Struct
[quote]Are you sure the first Error is the one reported? I would expect 'contains': too few template...

Code works with Template Function but doesn't with Template Struct
There are 2 snippets of code: the 1st works, the 2nd doesn't 1st uses functions [code] template <...

Error in pointer function
If you don't want 'q' to be a reference, then make max() return a pointer [code] int* max(int &m, i...

Error in pointer function
The function max() is returning a reference on line 16 You are assigning a reference to a pointer o...

How to use void_t like in is_default_constructible
Is there anywhere the correct implementation of the standard is_default_constructible? My goal is t...