userver: userver/utils/meta.hpp File Reference
Loading...
Searching...
No Matches
meta.hpp File Reference

Detailed Description

Metaprogramming, template variables and concepts.

Definition in file meta.hpp.

Go to the source code of this file.

#include <concepts>
#include <iosfwd>
#include <iterator>
#include <optional>
#include <type_traits>
#include <utility>
#include <userver/compiler/impl/nodebug.hpp>
#include <userver/utils/meta_light.hpp>
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  meta
 Metaprogramming utilities, concepts, and type traits helpers.
 

Typedefs

template<IsMap T>
using meta::MapKeyType = typename T::key_type
 
template<IsMap T>
using meta::MapValueType = typename T::mapped_type
 
template<IsRange T>
using meta::RangeValueType = impl::RangeValueType<T>
 

Functions

template<typename T>
auto meta::Inserter (T &container)
 Returns default inserter for a container.