D++ (DPP)  10.0.30
C++ Discord API Bot Library
dpp::utility::anonymous_namespace{utility.cpp} Namespace Reference

Functions

std::unique_ptr< std::byte[]> copy_data (const std::byte *data, size_t size)
 
template<typename Range >
std::unique_ptr< std::byte[]> copy_data (Range &&range)
 

Function Documentation

◆ copy_data() [1/2]

std::unique_ptr<std::byte[]> dpp::utility::anonymous_namespace{utility.cpp}::copy_data ( const std::byte *  data,
size_t  size 
)

◆ copy_data() [2/2]

template<typename Range >
std::unique_ptr<std::byte[]> dpp::utility::anonymous_namespace{utility.cpp}::copy_data ( Range &&  range)