Vcsn  2.4
Be Rational
vcsn::detail::index_t_impl< Tag > Struct Template Reference

Lightweight state/transition handle (or index). More...

#include <index.hh>

Collaboration diagram for vcsn::detail::index_t_impl< Tag >:

Public Types

using index_t = unsigned
 

Public Member Functions

constexpr index_t_impl (index_t i)
 
template<typename T >
 index_t_impl (index_t_impl< T > t)=delete
 
bool operator== (index_t_impl t) const
 
template<typename T >
bool operator== (index_t_impl< T > t) const =delete
 
 index_t_impl ()=default
 Default ctor to please containers. More...
 
constexpr operator index_t () const
 
index_t_imploperator++ ()
 Be compliant with Boost integer ranges. More...
 
index_t_imploperator-- ()
 Be compliant with Boost integer ranges. More...
 

Private Attributes

index_t s
 

Detailed Description

template<typename Tag>
struct vcsn::detail::index_t_impl< Tag >

Lightweight state/transition handle (or index).

Definition at line 12 of file index.hh.

Member Typedef Documentation

template<typename Tag>
using vcsn::detail::index_t_impl< Tag >::index_t = unsigned

Definition at line 14 of file index.hh.

Constructor & Destructor Documentation

template<typename Tag>
constexpr vcsn::detail::index_t_impl< Tag >::index_t_impl ( index_t  i)
inline

Definition at line 16 of file index.hh.

template<typename Tag>
template<typename T >
vcsn::detail::index_t_impl< Tag >::index_t_impl ( index_t_impl< T >  t)
delete
template<typename Tag>
vcsn::detail::index_t_impl< Tag >::index_t_impl ( )
default

Default ctor to please containers.

Member Function Documentation

template<typename Tag>
constexpr vcsn::detail::index_t_impl< Tag >::operator index_t ( ) const
inline

Definition at line 35 of file index.hh.

References vcsn::detail::index_t_impl< Tag >::s.

template<typename Tag>
index_t_impl& vcsn::detail::index_t_impl< Tag >::operator++ ( )
inline

Be compliant with Boost integer ranges.

Definition at line 37 of file index.hh.

References vcsn::detail::index_t_impl< Tag >::s.

template<typename Tag>
index_t_impl& vcsn::detail::index_t_impl< Tag >::operator-- ( )
inline

Be compliant with Boost integer ranges.

Definition at line 39 of file index.hh.

References vcsn::detail::index_t_impl< Tag >::s.

template<typename Tag>
bool vcsn::detail::index_t_impl< Tag >::operator== ( index_t_impl< Tag >  t) const
inline

Definition at line 24 of file index.hh.

References vcsn::detail::index_t_impl< Tag >::s.

template<typename Tag>
template<typename T >
bool vcsn::detail::index_t_impl< Tag >::operator== ( index_t_impl< T >  t) const
delete

Member Data Documentation


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