source/CompilationDetails.cpp
// Get the compilation details as a comma-separated string.
Get the compilation details as a comma-separated string.
Get the compilation details as a comma - separated string .
string CompilationDetails::get_compilation_details_string() const
{
  ostringstream oss;
  vector<string> comp_details = get_compilation_details();
  size_t cd_size = comp_details.size();
  for (size_t i = 0; i < cd_size; i++)
  {
    oss << comp_details.at(i);
    if (i < (cd_size - 1))
    {
      oss << ", ";
    }
  }
  return oss.str();
}
string CompilationDetails :: get_compilation_details_string ( ) const { ostringstream oss ; vector < string > comp_details = get_compilation_details ( ) ; size_t cd_size = comp_details . size ( ) ; for ( size_t i = 0 ; i < cd_size ; i ++ ) { oss << comp_details . at ( i ) ; if ( i < ( cd_size - 1 ) ) { oss << " " ; } } return oss . str ( ) ; }
Get the compilation details as a comma-separated string.
Get the compilation details as a comma - separated string .