|  | Home | Libraries | People | FAQ | More | 
boost::histogram::unsafe_access — Unsafe read/write access to classes that potentially break consistency.
// In header: <boost/histogram/unsafe_access.hpp> struct unsafe_access { // public static functions template<typename Histogram> static auto & axes(Histogram &); template<typename Histogram> static const auto & axes(const Histogram &); template<typename Histogram, unsigned I = 0> static decltype(auto) axis(Histogram &, std::integral_constant< unsigned, I > = {}); template<typename Histogram> static decltype(auto) axis(Histogram &, unsigned); template<typename Histogram> static auto & storage(Histogram &); template<typename Histogram> static const auto & storage(const Histogram &); };
unsafe_access public static functionstemplate<typename Histogram> static auto & axes(Histogram & hist);Get axes.
| Parameters: | 
 | 
template<typename Histogram> static const auto & axes(const Histogram & hist);Get axes.
| Parameters: | 
 | 
template<typename Histogram, unsigned I = 0> static decltype(auto) axis(Histogram & hist, std::integral_constant< unsigned, I > = {});Get mutable axis reference with compile-time number.
| Parameters: | 
 | ||
| Template Parameters: | 
 | 
template<typename Histogram> static decltype(auto) axis(Histogram & hist, unsigned i);Get mutable axis reference with run-time number.
| Parameters: | 
 | 
template<typename Histogram> static auto & storage(Histogram & hist);Get storage.
| Parameters: | 
 | 
template<typename Histogram> static const auto & storage(const Histogram & hist);Get storage.
| Parameters: | 
 |