Namespace epiassert_detail¶
Namespace List > epiassert_detail
Classes¶
| Type | Name |
|---|---|
| struct | is_iterable <typename T, typename> Type trait that detects iterable types (types with begin() andend() ). |
| struct | is_iterable< T, std::void_t< decltype(std::begin(std::declval< const T & >())), decltype(std::end(std::declval< const T & >())) > > <typename T> |
| struct | is_iterable< std::string > <> |
Public Functions¶
| Type | Name |
|---|---|
| std::string | to_str (const T & v) Convert a numeric value to its string representation. |
Public Functions Documentation¶
function to_str¶
Convert a numeric value to its string representation.
Uses std::ostringstream so that floating-point values are printed with enough precision to be useful in error messages.
The documentation for this class was generated from the following file epiworld-src/include/epiworld/epiassert-bones.hpp