|
STIR 6.4.0
|
defines the stir::assign function to assign values to different data types More...
Go to the source code of this file.
Namespaces | |
| namespace | stir |
| Namespace for the STIR library (and some/most of its applications) | |
Functions | |
templated functions for assigning values | |
When writing templated code, it is sometimes not possible to use
| |
| template<class T, class T2> | |
| std::enable_if_t<!has_iterator_v< T > > | stir::assign (T &x, const T2 &y) |
| template<class T, class T2> | |
| std::enable_if_t< has_full_iterator_v< T > > | stir::assign (T &v, const T2 &y) |
| template<class T, class T2> | |
| std::enable_if_t< has_iterator_and_no_full_iterator< T >::value > | stir::assign (T &v, const T2 &y) |
| void | stir::assign (double &x, const int y) |
| void | stir::assign (float &x, const int y) |
defines the stir::assign function to assign values to different data types