StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
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:79

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);