by admin
Welcome to this board!
|
|
[no replies]
|
by JuliusCaesar
How can a export an existing concept from a c++20 module
|
|
[no replies]
|
by JUANDENT
How come a concept receives 2 template parameters but only one is used?
|
|
[1 reply] : There are two syntaxes involved, both of which ultimately supply the s... (by DizzyDon)
|
by LsDefect
Parameters and move semantics
|
|
[10 replies] Last: I think I've actually got a handle on this now - thank you very much! (by LsDefect)
|
by JUANDENT
why pass by universal reference?
|
|
[1 reply] : Universal references are useful when you want to move the argument if ... (by Peter87)
|
by JUANDENT
Cannot convert from T to T&
|
|
[4 replies] Last: Is there any harm in using auto&&? No, I don't think so. does f re... (by Peter87)
|
by JUANDENT
How to write a concept that requires one to create an object to specify that that constructor must exist
|
|
[no replies]
|
by JUANDENT
what are the differences between returning auto, auto&, auto&& and decltype(auto)?
|
|
[1 reply] : For auto and decltype(auto): https://stackoverflow.com/questions/2136... (by George PlusPlus)
|
by JamieAl
Error: Using EigenFFT in for loop
|
|
[no replies]
|
by seeplus
what #define are defined
|
|
[3 replies] Last: Thanks. I missed that one........ (by seeplus)
|
by JUANDENT
are these assignments to temporary valid?
|
|
[1 reply] : h and i return dangling references. All big compilers (GCC, Clang ... (by Peter87)
|
by JUANDENT
vector of unique_ptrs - how to initialize?
|
|
[7 replies] Last: std::initializer_list only gives const access to the elements. You c... (by Peter87)
|
by JUANDENT
cannot instantiate a string literal
|
|
[13 replies] Last: To allow std::make_unique and similar functions to initialize aggreg... (by Peter87)
|
by JUANDENT
How to define a concept that checks for the size of a parameter pack?
|
|
[2 replies] Last: This seems to work: template<typename...T> concept NonEmpty = sizeof.... (by Peter87)
|
by JUANDENT
How to include library feature macros like __cpp_lib_* if importing std only?
|
|
[4 replies] Last: Even though <version> was added to C++20 it isn't automatically adde... (by George PlusPlus)
|
by JUANDENT
function returning an int cannot be assigned to
|
|
[2 replies] Last: b.value() returns an int (not addressable temporary) Correct. The ... (by seeplus)
|
by JUANDENT
order of importing does affect the outcome!
|
|
[2 replies] Last: the order of importing modules does matter if they are at least vague... (by keskiverto)
|
by JUANDENT
subclass does not deduce template argument in class with using std::vector<T>::vector
|
|
[3 replies] Last: The class needs to be declared with 2 parameters like std::vector! Tha... (by JUANDENT)
|
by LsDefect
Unlock mutex when returning
|
|
[2 replies] Last: Whoops you're right, thanks I'll make bufferLoaded atomic. As for out... (by LsDefect)
|
by JUANDENT
how to read a single character as with getchar but in C++?
|
|
[8 replies] Last: in C one could read a single character from the keyboard with functio... (by seeplus)
|