gslcpp
Modern-C++ Wrapper for GSL
Public Types | List of all members
gsl::vector< T, S >::sz_ok< N > Struct Template Reference

Struct defining whether size of other vector allow copying its data. More...

#include <vector.hpp>

Public Types

enum  { V = (N == S || N == 0 || S == 0) }
 

Detailed Description

template<typename T, size_t S = 0>
template<size_t N>
struct gsl::vector< T, S >::sz_ok< N >

Struct defining whether size of other vector allow copying its data.

Template Parameters
NNumber of elements in other vector.

Definition at line 84 of file vector.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename T , size_t S = 0>
template<size_t N>
anonymous enum
Enumerator

True if N be OK.

Definition at line 85 of file vector.hpp.

85 { V= (N == S || N == 0 || S == 0) };

The documentation for this struct was generated from the following file:
gsl::vector::sz_ok::V
@ V
True if N be OK.
Definition: vector.hpp:85