foobar2000 SDK  2015-01-14
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 743 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 745 of file string_base.h.

745  {
746  const t_size count = array_size_t(source);
747  if (count > 0) {
748  *this << source[0];
749  for(t_size walk = 1; walk < count; ++walk) *this << separator << source[walk];
750  }
751  }
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: