|
template<typename Other , typename SFINAE = std::enable_if_t< !std::is_same_v<T_BaseRecord, typename Other::T_BaseRecord>>> |
| ScalarIterator (Other const &other) |
| Auto-convert normal to const iterator. More...
|
|
ScalarIterator & | operator++ () |
|
T_Value * | operator-> () |
|
T_Value & | operator* () |
|
bool | operator== (ScalarIterator const &other) const |
|
bool | operator!= (ScalarIterator const &other) const |
|
|
template<typename > |
class | openPMD::BaseRecord |
|
◆ ScalarIterator()
template<typename T_BaseRecord_ , typename T_BaseRecordData_ , typename T_BaseIterator >
template<typename Other , typename SFINAE = std::enable_if_t< !std::is_same_v<T_BaseRecord, typename Other::T_BaseRecord>>>
Auto-convert normal to const iterator.
This is necessary to have things like:
B.insert(B.find("x"), std::pair{"y", E["y"]})
^^^^^^^^^^^ returns a normal iterator but insert-with-hint requires a const
- Template Parameters
-
Other | A ScalarIterator with other template parameters. |
SFINAE | Implementation detail. |
- Parameters
-
other | Copy from this non-const iterator. |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/openpmd-api/checkouts/latest/include/openPMD/backend/BaseRecord.hpp