ECSTASY
All in the name
Loading...
Searching...
No Matches
can_save_type.hpp File Reference

Concept to check if a type can be saved with a serializer. More...

Include dependency graph for can_save_type.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ecstasy::serialization::traits::can_save_type< S, T, typename >
 Concept to check if a type can be saved with a serializer. More...
 
struct  ecstasy::serialization::traits::can_save_type< S, T, std::void_t< decltype(std::declval< S & >().save(std::declval< const T & >()))> >
 Concept to check if a type can be saved with a serializer. More...
 
struct  ecstasy::serialization::traits::has_save_impl_for_type< S, T, typename >
 Concept to check if a serializer has a specific save implementation for a type. More...
 
struct  ecstasy::serialization::traits::has_save_impl_for_type< S, T, std::void_t< decltype(std::declval< S & >().saveImpl(std::declval< const T & >()))> >
 Concept to check if a serializer has a specific save implementation for a type. More...
 

Namespaces

namespace  ecstasy
 Namespace containing all symbols specific to ecstasy.
 
namespace  ecstasy::serialization
 Namespace regrouping the serialization ecstasy classes.
 
namespace  ecstasy::serialization::traits
 Namespace regrouping the serialization ecstasy type traits.
 

Variables

template<concepts::is_serializer S, typename C >
bool constexpr ecstasy::serialization::traits::can_save_type_v = can_save_type<S, C>::value
 Alias for can_save_type<S, C>::value.
 
template<typename S , typename C >
bool constexpr ecstasy::serialization::traits::has_save_impl_for_type_v = has_save_impl_for_type<S, C>::value
 Alias for has_save_impl_for_type<S, C>::value.
 

Detailed Description

Concept to check if a type can be saved with a serializer.

Author
Andréas Leroux (andre.nosp@m.as.l.nosp@m.eroux.nosp@m.@epi.nosp@m.tech..nosp@m.eu)
Version
1.0.0
Date
2024-06-24

Definition in file can_save_type.hpp.