Public Member Functions | Private Attributes | List of all members
ecl::ByteContainerConcept< Implementation > Class Template Reference

Defines validating functionality for the byte container concept. More...

#include <containers.hpp>

Public Member Functions

 ecl_compile_time_concept_test (ByteContainerConcept)
 Implements a concept test for byte containers. More...
 

Private Attributes

Implementation container
 
Implementation::iterator iter
 

Detailed Description

template<typename Implementation>
class ecl::ByteContainerConcept< Implementation >

Defines validating functionality for the byte container concept.

Elements stored in this container can be either signed, unsigned or char type.

Definition at line 314 of file containers.hpp.

Member Function Documentation

◆ ecl_compile_time_concept_test()

template<typename Implementation >
ecl::ByteContainerConcept< Implementation >::ecl_compile_time_concept_test ( ByteContainerConcept< Implementation >  )
inline

Implements a concept test for byte containers.

The following conditions are required by byte containers:

  • begin() : a method for retrieving a pointer/iterator to the start of the container.
  • end() : a method for retrieving a pointer/iterator to the end of the container.
  • size() : a method for retrieving the number of elements stored in the container.
  • value_type : a typedef for the element type stored in the container, must be char, signed char or unsigned char.

Definition at line 326 of file containers.hpp.

Member Data Documentation

◆ container

template<typename Implementation >
Implementation ecl::ByteContainerConcept< Implementation >::container
private

Definition at line 341 of file containers.hpp.

◆ iter

template<typename Implementation >
Implementation::iterator ecl::ByteContainerConcept< Implementation >::iter
private

Definition at line 342 of file containers.hpp.


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


ecl_concepts
Author(s): Daniel Stonier
autogenerated on Sun Aug 2 2020 03:12:08