4.4.1
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
Public Types | Public Member Functions
fcppt::container::grid::pos_reference< Grid > Class Template Reference

Detailed Description

template<typename Grid>
class fcppt::container::grid::pos_reference< Grid >

A reference to a grid cell and its position.

Public Types

using pos_type = fcppt::container::grid::pos_type< std::remove_cv_t< Grid > >
 
using reference = fcppt::container::to_reference_type< Grid >
 

Public Member Functions

 pos_reference (pos_type, reference)
 
pos_type const & pos () const
 
reference value () const
 

Member Typedef Documentation

◆ pos_type

template<typename Grid >
using fcppt::container::grid::pos_reference< Grid >::pos_type = fcppt::container::grid::pos_type<std::remove_cv_t<Grid> >

◆ reference

template<typename Grid >
using fcppt::container::grid::pos_reference< Grid >::reference = fcppt::container::to_reference_type<Grid>

Constructor & Destructor Documentation

◆ pos_reference()

template<typename Grid >
fcppt::container::grid::pos_reference< Grid >::pos_reference ( pos_type  ,
reference   
)

Member Function Documentation

◆ pos()

template<typename Grid >
pos_type const & fcppt::container::grid::pos_reference< Grid >::pos ( ) const

◆ value()

template<typename Grid >
reference fcppt::container::grid::pos_reference< Grid >::value ( ) const