MySQL 8.3.0
Source Code Documentation
temptable::Lock_free_type_selector< T, typename std::enable_if< std::is_class< T >::value and std::is_trivially_copyable< T >::value >::type > Struct Template Reference

Template-specialization for trivially-copyable classes/structs. More...

#include <lock_free_type.h>

Detailed Description

template<typename T>
struct temptable::Lock_free_type_selector< T, typename std::enable_if< std::is_class< T >::value and std::is_trivially_copyable< T >::value >::type >

Template-specialization for trivially-copyable classes/structs.

Subset of trivially-copyable classes/structs might have always-lock-free property but for this feature to be implemented we would have to go at great lengths to implement cross-platform support. Therefore, for simplicity reasons let's just detect the overload and fail gracefully.


The documentation for this struct was generated from the following file: