AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::inlet::cpp11_compat Namespace Reference

Functions

template<typename T , typename... Args>
std::unique_ptr< T > make_unique (Args &&... args)
 This function provides backwards compatibility for std::make_unique, which is not implemented until C++14. It should be removed when either Axom or the Inlet component is no longer required to support C++11. More...
 

Function Documentation

◆ make_unique()

template<typename T , typename... Args>
std::unique_ptr<T> axom::inlet::cpp11_compat::make_unique ( Args &&...  args)

This function provides backwards compatibility for std::make_unique, which is not implemented until C++14. It should be removed when either Axom or the Inlet component is no longer required to support C++11.

Template Parameters
TThe type to construct
ArgsThe variadic argument list to forward to T's constructor
Returns
A unique ptr constructed with the given arguments

Referenced by axom::inlet::FunctionWrapper< FunctionTags >::FunctionWrapper().