Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++11

the array Initialize in C++ [duplicate]

c++ c++11

Why does std::extent applied to auto& yield zero?

c++ c++11

C++11: increment time_point by one second

c++11 clock chrono

using std::tuple to construct a vector-based dataset refer to variadic-templates

c++ templates c++11

std::string stream parse a number in binary format

assigning Rvalue reference to Lvalue reference

c++ c++11 c++14

How to avoid the need to specify deleter for std::shared_ptr every time it's constructed or reset?

Is there a reason why std::make_shared/std::make_unique don't use list initialization?

c++ c++11 std shared-ptr

How to detect whether a class has a move constructor?

c++ c++11 move-constructor

make_pair does not work with string, works with string&

c++ c++11

Initialize a two-dimensional std::array of type enum class (C++11)

Data labels in linechart Qt Charts

qt c++11

Is std::is_same<t,t>::value always true?

A const std::function wraps a non-const operator() / mutable lambda

c++ c++11 std-function

Why are "double braces" needed in declaration of multi-dimensional array using stacked std::array?

c++ arrays c++11 stdarray

Invalid conversion from 'const char**' to 'char* const*'

c++ c++11

Why unique_ptr with custom deleter won't work for nullptr, while shared_ptr does?

Is initializing a atomic pointer atomic? What happens if initialization or memory allocation throws?

c++ c++11 c++14

Why does Google Test/Mock show leaked mock object error by std::unique_ptr?

How to remove from any container?

c++ c++11 stl containers