Sequoia
Loading...
Searching...
No Matches
Classes | Functions
AssignmentUtilities.hpp File Reference

Helper for dealing with allocator propagation during copy assignment. More...

#include "sequoia/Core/Meta/Sequences.hpp"
#include <memory>

Go to the source code of this file.

Classes

struct  sequoia::impl::type_to_type< T >
 
struct  sequoia::impl::type_to_type< T >::mapper< AllocGetter >
 
struct  sequoia::assignment_helper
 Helper class to assist with copy assignment for allocator-aware types. More...
 

Functions

template<class Excluded , template< class > class TypeToType, class Fn , class... Ts>
void sequoia::impl::invoke_filtered (Fn f, Ts... t)
 

Detailed Description

Helper for dealing with allocator propagation during copy assignment.

Consider a type which wraps one or containers. If the enclosing type is allocator-aware, getting copy assigment right in situations were it cannot be defaulted is non-trivial. This file defines the class sequoia::assignment_helper to help with this.