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

#include <daw_json_link.h>

Public Member Functions

constexpr std::unique_ptr< T > operator() () const
 
template<typename Arg , typename... Args>
std::unique_ptr< T > operator() (Arg &&arg, Args &&... args) const
 

Detailed Description

template<typename T>
struct daw::json::UniquePtrConstructor< T >

This is used for nullables who's member is a unique_ptr.

Template Parameters
TType of value stored in unique_ptr

Member Function Documentation

◆ operator()() [1/2]

template<typename T >
constexpr std::unique_ptr<T> daw::json::UniquePtrConstructor< T >::operator() ( ) const
inlineconstexpr

◆ operator()() [2/2]

template<typename T >
template<typename Arg , typename... Args>
std::unique_ptr<T> daw::json::UniquePtrConstructor< T >::operator() ( Arg &&  arg,
Args &&...  args 
) const
inline

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