Cuberite
A lightweight, fast and extensible game server for Minecraft
Functions
cpp20 Namespace Reference

Functions

template<class T >
std::enable_if_t<!std::is_array_v< T >, std::unique_ptr< T > > make_unique_for_overwrite ()
 
template<class T >
std::enable_if_t< std::is_array_v< T > &&(std::extent_v< T >==0), std::unique_ptr< T > > make_unique_for_overwrite (std::size_t a_Size)
 

Function Documentation

◆ make_unique_for_overwrite() [1/2]

template<class T >
std::enable_if_t<!std::is_array_v<T>, std::unique_ptr<T> > cpp20::make_unique_for_overwrite ( )

Definition at line 304 of file Globals.h.

◆ make_unique_for_overwrite() [2/2]

template<class T >
std::enable_if_t<std::is_array_v<T> && (std::extent_v<T> == 0), std::unique_ptr<T> > cpp20::make_unique_for_overwrite ( std::size_t  a_Size)

Definition at line 298 of file Globals.h.