MobileRT
1.0
A multi platform C++ CPU progressive Ray Tracer.
|
Functions | |
template<typename T , typename... Args> | |
::std::unique_ptr< T > | make_unique (Args &&... args) |
template<typename T > | |
::std::string | to_string (const T &str) |
::std::unique_ptr<T> MobileRT::std::make_unique | ( | Args &&... | args | ) |
C++ versions: 199711L <=> C++98 or C++03 201103L <=> C++11 201402L <=> C++14 201703L <=> C++17 202002L <=> C++20 The make_unique method to be used when the version of the C++ language is older than C++14.
T | The type of the object to construct. |
Args | The type of the arguments. |
args | The arguments to build the object. |
::std::string MobileRT::std::to_string | ( | const T & | str | ) |
Helper method that converts any type to std::string for older compilers that are not C++11 compliant.
T | The type of the object to be converted to std::string. |
str | The object to be converted to std::string. |