![]() |
Home | Libraries | People | FAQ | More |
boost::time_series::get_raw_buffer — Fetch a raw pointer to the internal dense storage of a dense_series<>.
// In header: <boost/time_series/dense_series.hpp> template<typename Value, typename Discretization> std::pair< Value *, std::size_t > get_raw_buffer(dense_series< Value, Discretization > & series); template<typename Value, typename Discretization> std::pair< Value const *, std::size_t > get_raw_buffer(dense_series< Value, Discretization > const & series);
Fetch a raw pointer to the internal dense storage of a dense_series<>
| Returns: | A std::pair<> containing the raw pointer to the buffer and a std::size_t with the number of elements in the buffer. If the dense_series<> is empty, the returned pointer is 0 and the returned size is 0. |
| Throws: | Will not throw. |