DAW JSON Link
Public Member Functions | List of all members
daw::json::DAW_JSON_VER::default_constructor< T > Struct Template Reference

#include <daw_json_traits.h>

Inheritance diagram for daw::json::DAW_JSON_VER::default_constructor< T >:
daw::json::DAW_JSON_VER::default_constructor< json_alt< T, I > > daw::json::DAW_JSON_VER::nullable_constructor< T >

Public Member Functions

constexpr DAW_ATTRIB_FLATINLINE T operator() () const
 
template<typename... Args, std::enable_if_t<(std::is_constructible< T, Args... >::value and sizeof...(Args) > 0), std::nullptr_t > = nullptr>
constexpr DAW_ATTRIB_FLATINLINE T operator() (Args &&...args) const
 
template<typename... Args, typename std::enable_if_t< std::conjunction< daw::not_trait< std::is_constructible< T, Args... >>, daw::traits::is_list_constructible< T, Args... >>::value, std::nullptr_t > = nullptr>
constexpr DAW_ATTRIB_FLATINLINE T operator() (Args &&...args) const noexcept(noexcept(T{ DAW_FWD2(Args, args)... }))
 

Member Function Documentation

◆ operator()() [1/3]

template<typename T >
constexpr DAW_ATTRIB_FLATINLINE T daw::json::DAW_JSON_VER::default_constructor< T >::operator() ( ) const
inlineconstexpr

◆ operator()() [2/3]

template<typename T >
template<typename... Args, std::enable_if_t<(std::is_constructible< T, Args... >::value and sizeof...(Args) > 0), std::nullptr_t > = nullptr>
constexpr DAW_ATTRIB_FLATINLINE T daw::json::DAW_JSON_VER::default_constructor< T >::operator() ( Args &&...  args) const
inlineconstexpr

◆ operator()() [3/3]

template<typename T >
template<typename... Args, typename std::enable_if_t< std::conjunction< daw::not_trait< std::is_constructible< T, Args... >>, daw::traits::is_list_constructible< T, Args... >>::value, std::nullptr_t > = nullptr>
constexpr DAW_ATTRIB_FLATINLINE T daw::json::DAW_JSON_VER::default_constructor< T >::operator() ( Args &&...  args) const
inlineconstexprnoexcept

The documentation for this struct was generated from the following file: