mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Replace Eigen type metaprogramming with corresponding std types and make use of alias templates
This commit is contained in:
committed by
Antonio Sánchez
parent
514f90c9ff
commit
421cbf0866
@@ -28,9 +28,9 @@ class Serializer;
|
||||
|
||||
// Specialization for POD types.
|
||||
template<typename T>
|
||||
class Serializer<T, typename std::enable_if<
|
||||
class Serializer<T, typename std::enable_if_t<
|
||||
std::is_trivial<T>::value
|
||||
&& std::is_standard_layout<T>::value>::type > {
|
||||
&& std::is_standard_layout<T>::value>> {
|
||||
public:
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user