CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
Loading...
Searching...
No Matches
CppAD::cg::CGOStreamFunc< Base > Struct Template Reference

#include <cg.hpp>

Collaboration diagram for CppAD::cg::CGOStreamFunc< Base >:
Collaboration graph

Static Public Attributes

static thread_local std::function< std::ostream &(std::ostream &, const CG< Base > &) FUNC )
 

Detailed Description

template<class Base>
struct CppAD::cg::CGOStreamFunc< Base >

Overrides the default behaviour of operator<<(std::ostream& os, const CG<Base>& c). It can be used recover OperationNode names.

Todo
replace this struct with a template variable once C++14 is used

Definition at line 269 of file cg.hpp.

Member Data Documentation

◆ FUNC

template<class Base >
thread_local std::function<std::ostream& (std::ostream&, const CG<Base>&) CppAD::cg::CGOStreamFunc< Base >::FUNC)
static

Definition at line 270 of file cg.hpp.


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