Search code examples
C++ std::variant vs std::any...


c++c++17std-variantstdany

Read More
Casting std::any to std::tuple...


c++c++17stdtuplestdany

Read More
std::any containing std::tuple<std::any> fails to compile...


c++stlstdstdtuplestdany

Read More
Cannot move std::any...


c++c++17movemove-semanticsstdany

Read More
Interaction between std::optional<std::any> and has_value()...


c++c++17stdoptionalstdany

Read More
correct way to store a pointer to member function inside std::any...


c++c++17stdany

Read More
Is it possible to store and retrieve a container (e.g. std::vector) in an std::any variable?...


c++c++17stdvectorstdanyanycast

Read More
Why does std::function::operator= in C++ always construct and not assign object?...


c++stlstd-functionstdany

Read More
Does C++ standard guarantee such kinds of indirect access well defined?...


c++reinterpret-caststrict-aliasingtype-aliasstdany

Read More
What is the difference between `auto` and `std::any`?...


c++c++17autostdany

Read More
How to gtest / gmock function accepting std::experimental::any argument?...


unit-testingc++14googletestgooglemockstdany

Read More
Upcasting through std::any...


c++c++17stdstdany

Read More
C++ std::map holding ANY type of value...


c++templatesstlstdmapstdany

Read More
std::any_cast without needing the type of the original object...


c++castingstdstdanyanycast

Read More
Cant cout item in container with std::any...


c++unordered-mapostreamstdany

Read More
C++ std::any function that convert std::any of C char-array to string...


c++stringc-stringsrttistdany

Read More
C++ polymorphism factory How to build function object from its string name and map of parameter...


c++functionpolymorphismfactorystdany

Read More
binary comparison not defined when using map<any,any>...


c++stdmapstdany

Read More
Transfer data from library to upper level and then back without naming it inbetween...


c++c++17stdany

Read More
How to Add Element into a std::vector using std::any...


c++c++11c++17stdany

Read More
How to get the data type of a std::any variable?...


c++stdany

Read More
C++: check if the value stored in std::any is integral...


c++c++20stdany

Read More
Does std::any_cast call destructor? How the cast works?...


c++stdanyanycast

Read More
Like std::function but with more varied argument and return types...


c++c++20std-functionstdany

Read More
mutable object referred by std::any...


c++c++17stdany

Read More
Is there any way to cast a std::any containing a derived pointer to a base pointer, without knowing ...


c++stdany

Read More
Checking std::any's type without RTTI...


c++typesrttistdany

Read More
Is it possible to forward function calls with matching template type for a std::any-like container?...


c++templatesdesign-patternsstdbindstdany

Read More
std::any for move-only template where static_assert inside copy-ctor equals compile error, but why?...


c++stdany

Read More
Reading sub-object vector with rapidjson...


c++jsonvectorrapidjsonstdany

Read More
BackNext