sparrow 1.0.0
Loading...
Searching...
No Matches
sparrow::mpl::excludes_copy_and_move_ctor< CLS, ARGS > Struct Template Reference

Helper to exclude copy and move constructors from variadic templates. More...

#include <mp_utils.hpp>

Collaboration diagram for sparrow::mpl::excludes_copy_and_move_ctor< CLS, ARGS >:
[legend]

Static Public Attributes

static constexpr bool value = true
 

Detailed Description

template<class CLS, class... ARGS>
struct sparrow::mpl::excludes_copy_and_move_ctor< CLS, ARGS >

Helper to exclude copy and move constructors from variadic templates.

This utility helps prevent copy and move constructors from being routed to constructors with variadic arguments or perfect forwarding.

Template Parameters
CLSClass type
ARGSArgument types to check
Postcondition
Value is false only for single argument that is same as CLS

Definition at line 1032 of file mp_utils.hpp.

Member Data Documentation

◆ value

template<class CLS, class... ARGS>
bool sparrow::mpl::excludes_copy_and_move_ctor< CLS, ARGS >::value = true
staticconstexpr

Definition at line 1034 of file mp_utils.hpp.


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