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

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

#include <containers.hpp>

Public Member Functions

 ecl_compile_time_concept_test (ContainerConcept)
 Implements a concept test for containers. More...
 

Private Attributes

Implementation container
 
Implementation::iterator iter
 

Detailed Description

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

Defines validating functionality for the container concept.

Definition at line 43 of file containers.hpp.

Member Function Documentation

◆ ecl_compile_time_concept_test()

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

Implements a concept test for containers.

The following conditions are required by 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.

Definition at line 64 of file containers.hpp.

Member Data Documentation

◆ container

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

Definition at line 76 of file containers.hpp.

◆ iter

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

Definition at line 77 of file containers.hpp.


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


ecl_concepts
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:24