foobar2000 SDK  2015-08-03
Public Member Functions
pfc::format_array

#include <string_base.h>

+ Inheritance diagram for pfc::format_array:

Public Member Functions

template<typename t_source >
 format_array (t_source const &source, const char *separator=", ")
 

Detailed Description

Definition at line 744 of file string_base.h.

Constructor & Destructor Documentation

template<typename t_source >
pfc::format_array::format_array ( t_source const &  source,
const char *  separator = ", " 
)
inline

Definition at line 746 of file string_base.h.

746  {
747  const t_size count = array_size_t(source);
748  if (count > 0) {
749  *this << source[0];
750  for(t_size walk = 1; walk < count; ++walk) *this << separator << source[walk];
751  }
752  }
size_t t_size
Definition: int_types.h:48
t_size array_size_t(const t_array &p_array)
Definition: primitives.h:309

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