StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Type::TriviallyCopyable Concept Reference

Type that may be copied with memcpy / as-if memcpy. More...

#include <StormByte/type_traits/object_semantics.hxx>

Concept definition

template<typename T>
concept StormByte::Type::TriviallyCopyable = std::is_trivially_copyable_v<T>
Type that may be copied with memcpy / as-if memcpy.
Definition object_semantics.hxx:124

Detailed Description

Type that may be copied with memcpy / as-if memcpy.

Template Parameters
TType to test.
template<Type::TriviallyCopyable T>
void fast_copy(T* dest, const T* src, size_t n);