Support Class Library
A set of tools providing classes and utility
include
scl
tools
make
any.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
scl/utils/Any.h
>
4
#include <utility>
5
6
namespace
scl
{
7
namespace
tools{
8
namespace
make
{
16
template
<
class
T,
class
... Args>
17
scl::utils::Any
any
(Args&&... args){
18
return
scl::utils::Any
(
19
T{std::forward<Args>(args)...}
20
);
21
}
22
}
23
}
24
}
scl
Global namespace of the SCL.
Definition:
alias.hpp:3
scl::tools::make
Group of factory functions.
Definition:
any.h:8
scl::utils::Any
Class that can hold any value type (and change value type mid lifetime)
Definition:
Any.h:60
Any.h
scl::tools::make::any
scl::utils::Any any(Args &&... args)
Creates an scl::tools::Any from the given type and arguments.
Definition:
any.h:17
Generated by
1.8.13