Public Member Functions | Private Attributes
ecl::ContainerConcept< Implementation > Class Template Reference

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

#include <containers.hpp>

List of all members.

Public Member Functions

 ecl_compile_time_concept_test (ContainerConcept)
 Implements a concept test for containers.

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 37 of file containers.hpp.


Member Function Documentation

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 50 of file containers.hpp.


Member Data Documentation

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

Definition at line 64 of file containers.hpp.

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

Definition at line 65 of file containers.hpp.


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


ecl_concepts
Author(s): Daniel Stonier
autogenerated on Sun Oct 5 2014 23:35:23