Vcsn  2.8
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

◆ index_t

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

Definition at line 14 of file index.hh.

Constructor & Destructor Documentation

◆ index_t_impl() [1/3]

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.

References vcsn::detail::index_t_impl< Tag >::index_t_impl().

Here is the call graph for this function:

◆ index_t_impl() [2/3]

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

◆ index_t_impl() [3/3]

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

Member Function Documentation

◆ operator index_t()

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.

◆ operator++()

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.

◆ operator--()

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.

◆ operator==() [1/2]

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 >::index_t_impl(), and vcsn::detail::index_t_impl< Tag >::s.

Here is the call graph for this function:

◆ operator==() [2/2]

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

Member Data Documentation

◆ s


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