timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
stl.hpp File Reference
#include "timemory/math/stl.hpp"
#include "timemory/utility/macros.hpp"
#include <array>
#include <ostream>
#include <tuple>
#include <utility>
#include <vector>
+ Include dependency graph for stl.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tim
 
namespace  tim::stl
 the namespace is provided to hide stl overload from global namespace but provide a method of using the namespace without a "using namespace tim;"
 
namespace  tim::stl::ostream
 the namespace provides overloads to output complex data types w/ streams
 

Functions

template<template< typename... > class Tuple, typename... Types, size_t... Idx>
void tim::stl::ostream::tuple_printer (const Tuple< Types... > &obj, std::ostream &os, index_sequence< Idx... >)
 
template<typename T , typename U >
std::ostream & tim::stl::ostream::operator<< (std::ostream &, const std::pair< T, U > &)
 
template<typename... Types>
std::ostream & tim::stl::ostream::operator<< (std::ostream &, const std::tuple< Types... > &)
 
template<typename Tp , typename... Extra>
std::ostream & tim::stl::ostream::operator<< (std::ostream &, const std::vector< Tp, Extra... > &)
 
template<typename Tp , size_t N>
std::ostream & tim::stl::ostream::operator<< (std::ostream &, const std::array< Tp, N > &)
 
template<typename Tp , typename... ExtraT>
std::ostream & tim::stl::ostream::operator<< (std::ostream &os, const std::vector< Tp, ExtraT... > &p)
 

Detailed Description

Provides operators on common STL structures such as <<, +=, -=, *=, /=, +, -, *, /

Definition in file stl.hpp.