User profile: JLBorges

User info
User name:JLBorges
Number of posts:13768
Latest posts:

make_pair with explicit types
> Wouldn't the reuse of a moved object after line 11, at lines 12 & 15, be considered UB? Or worse? ...

make_pair with explicit types
> not compiling when I explicitly specify the types for make_pair. If we must use explicit specific...

Re-validating an iterator
> [tt]std::remove_if()[/tt] doesn't change the size of the vector But it leaves the 'to-be-erased' ...

How can ofstream not trunc existing file?
If we do not want to seek to the end of stream before each write (ie. we do not want [tt]std::ios_ba...

istream_iterator invokes reading from the keyboard by just defining it!!
[quote]The actual read operation is performed when the iterator is incremented, not when it is deref...