xtd 0.2.0
make_any.hpp File Reference
#include "any.hpp"

Definition

Contains xtd::any_cast alias on xtd::any_cast operators.

Go to the source code of this file.

Namespaces

namespace  xtd
 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
 

Functions

template<class type_t, class... args_t>
xtd::any xtd::make_any (args_t &&... args)
 Creates an xtd::any object containing an object of type type_t, passing the provided arguments to type_t's constructor.
 
template<class type_t, class il_type_t, class... args_t>
xtd::any xtd::make_any (std::initializer_list< il_type_t > il, args_t &&... args)
 Creates an xtd::any object containing an object of type type_t, passing the provided arguments to type_t's constructor.