split files

This commit is contained in:
ToruNiina
2017-04-21 13:14:53 +09:00
parent 337a671f0c
commit 78f25dd66d
8 changed files with 389 additions and 322 deletions

16
toml/utility.hpp Normal file
View File

@@ -0,0 +1,16 @@
#ifndef TOML11_UTILITY
#define TOML11_UTILITY
#include <utility>
#include <memory>
namespace toml
{
template<typename T, typename ... Ts>
inline std::unique_ptr<T> make_unique(Ts&& ... args)
{
return std::unique_ptr<T>(new T(std::forward<Ts>(args)...));
}
}// toml
#endif // TOML11_UTILITY