cpp-toolbox  0.0.1
A toolbox library for C++
Loading...
Searching...
No Matches
toolbox::types::detail Namespace Reference

Classes

struct  is_calculable_container
 辅助类型特征,用于检查类型是否为可计算容器 / Helper type trait to check if a type is a calculable container More...
 
struct  is_calculable_container< T, std::void_t< decltype(std::begin(std::declval< const T & >())), decltype(std::end(std::declval< const T & >())), typename T::value_type > >
 辅助类型特征的特化版本,用于检查容器类型 / Specialization of helper type trait for container types More...
 

Variables

template<typename T >
constexpr bool is_calculable_container_v
 辅助变量模板,用于快速检查类型是否为可计算容器 / Helper variable template for quick checking if type is calculable container
 

Variable Documentation

◆ is_calculable_container_v

template<typename T >
constexpr bool toolbox::types::detail::is_calculable_container_v
inlineconstexpr
Initial value:
=
is_calculable_container<T>::value

辅助变量模板,用于快速检查类型是否为可计算容器 / Helper variable template for quick checking if type is calculable container

Template Parameters
T要检查的类型 / Type to check