Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2023. The current version is 1.89.0.
boost::type_erasure::typeid_of
// In header: <boost/type_erasure/typeid_of.hpp> template<typename Concept, typename T> const std::type_info & typeid_of(const any< Concept, T > & arg); template<typename T, typename Concept> const std::type_info & typeid_of(const binding< Concept > & binding);
The first form returns the type currently stored in an any.
The second form returns the type corresponding to a placeholder in binding.
Requires: |
|
Requires: |
|