Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++11

In C++, can I declare a reference so as to indicate that nothing will ever modify it?

Does returning a local object require move semantics?

c++ c++11

If I move a local object into a function, will it still be valid afterward?

c++ c++11 move-semantics

Converting a std::wstring to int

c++ c++11

Is it possible to access (read only) the variables captured by a lambda?

c++ c++11

Removing elements from a C++ map through a for-loop

c++ map stl c++11

how to use std::vector::emplace_back for vector<vector<int> >?

c++ c++11 vector

How can I avoid writing `::value` and `::type` when using `std::enable_if`? [cppx]

c++ templates c++11

Find max/min of vector of vectors

c++ c++11 vector max min

shared_from_this() causes std::bad_weak_ptr even when correctly using make_shared

Can we increase an iterator multiple positions without the 'advance' function?

What is the reason behind std::chrono::duration's lack of immediate tick count manipulation?

c++ c++11 chrono

non-integral constants

c++ c++11 constants inline

How to get the number of arguments of `std::function`?

c++ function c++11

Should I std::move a shared_ptr in a move constructor?

How to memset char array with null terminating character?

Is it possible to inline a lambda expression? [duplicate]

c++ c++11 lambda inline inlining

Why can't nullptr convert to int?

Which standard C++ features can be used for querying machine/OS architecture?

Get function pointer from std::function when using std::bind