User profile: Peter87

User info
User name:Peter87
Website:http://dataapa.net/
History
Joined:
Number of posts:10969
Latest posts:

how can a function name be an lvalue?
[quote=seeplus]In my mind (and the language lawyers will probably squawk), a function is an lvalue i...

c++ void
Looks like you want word to be of type std::string. You cannot call a function before it has been d...

how can a function name be an lvalue?
It's totally meaningless. I just mentioned it to show that lvalues and rvalues have very little to ...

using infinite loop with epoch chrono method to get timestamp, cpu heats up to 90 degrees
Let the CPU sleep for a while on each iteration. https://en.cppreference.com/w/cpp/thread/sleep_for

how can a function name be an lvalue?
Note that class objects can often be assigned to even if they're rvalues. [code] std::string() = ""...