MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::detail::NoInitIterator< T >::Ref Struct Reference

#include <MRMesh/MRResizeNoInit.h>

Inheritance diagram for MR::detail::NoInitIterator< T >::Ref:

Public Member Functions

 operator const T & () const

Detailed Description

template<typename T>
struct MR::detail::NoInitIterator< T >::Ref

T( ref ) picks T( NoInit ) by the derived-to-base conversion, so the element is constructed in place; the conversion to const T& is only for *pos = *it of an insert in the middle, which compiles but never runs here


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