OpenBarnyard
 
Loading...
Searching...
No Matches
STL.h File Reference
#include "Toshi/Memory/TMemory.h"
#include <memory>
#include <vector>
#include <unordered_map>
#include <map>

Go to the source code of this file.

Classes

class  STL::TAllocator< Type >
 
class  STL::MemoryDeleter< Type >
 

Namespaces

namespace  STL
 

Typedefs

template<typename T>
using STL::Ref = std::shared_ptr<T>
 
template<typename T>
using STL::Scope = std::unique_ptr<T, MemoryDeleter<T>>
 
template<typename T>
using STL::Vector = std::vector<T, Toshi::STL::TAllocator<T>>
 
template<typename Key, typename T>
using STL::Map = std::map<Key, T, std::less<Key>, Toshi::STL::TAllocator<std::pair<const Key, T>>>
 
template<typename Key, typename T>
using STL::UnorderedMap = std::unordered_map<Key, T, std::hash<Key>, std::equal_to<Key>, Toshi::STL::TAllocator<std::pair<const Key, T>>>
 

Functions

template<typename T, typename... Args>
constexpr Ref< T > STL::CreateRef (Args &&... args)
 
template<typename T, typename... Args>
constexpr Scope< T > STL::CreateScope (Args &&... args)
 
template<typename T, typename Result, typename... Args>
constexpr Scope< Result > STL::CreateScope (Args &&... args)