Support Class Library
A set of tools providing classes and utility
include
scl
tools
make
from.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <utility>
4
5
namespace
scl
{
6
namespace
tools{
7
namespace
make
{
15
template
<
class
T,
class
... Args>
16
inline
T
from
(Args&&... args){
17
return
T{std::forward<Args>(args)...};
18
}
19
}
20
}
21
}
scl::tools::make::from
T from(Args &&... args)
Instantiate the given value type in-place with the given set of arguments.
Definition:
from.h:16
scl
Global namespace of the SCL.
Definition:
alias.hpp:3
scl::tools::make
Group of factory functions.
Definition:
any.h:8
Generated by
1.8.13