Jpp  16.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Friends | List of all members
JLANG::array_type< JElement_t, JAllocator_t > Struct Template Reference

Auxiliary data structure for return type of make methods. More...

#include <JVectorize.hh>

Inheritance diagram for JLANG::array_type< JElement_t, JAllocator_t >:
std::vector< JElement_t, JAllocator_t >

Friends

std::ostream & operator<< (std::ostream &out, const array_type &object)
 Write array to output stream. More...
 

Detailed Description

template<class JElement_t, class JAllocator_t = std::allocator<JElement_t>>
struct JLANG::array_type< JElement_t, JAllocator_t >

Auxiliary data structure for return type of make methods.

Definition at line 26 of file JVectorize.hh.

Friends And Related Function Documentation

template<class JElement_t, class JAllocator_t = std::allocator<JElement_t>>
std::ostream& operator<< ( std::ostream &  out,
const array_type< JElement_t, JAllocator_t > &  object 
)
friend

Write array to output stream.

Parameters
outoutput stream
objectarray
Returns
output stream

Definition at line 36 of file JVectorize.hh.

37  {
38  for (typename array_type::const_iterator i = object.begin(); i != object.end(); ++i) {
39  out << ' ' << *i;
40  }
41 
42  return out;
43  }

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