Calculator  Step 5
Functions
node_impl.cpp File Reference
#include <iomanip>
#include <iterator>
#include <ostream>
#include <sstream>
#include <utility>
#include "calc_error.hpp"
#include "node.hpp"
#include "node_impl.hpp"
#include "variables.hpp"

Go to the source code of this file.

Functions

void print_identifier_list (std::ostream &stream, identifier_list const &identifiers)
 

Function Documentation

void print_identifier_list ( std::ostream &  stream,
identifier_list const &  identifiers 
)

Definition at line 235 of file node_impl.cpp.

Referenced by node_function::print_node().

236 {
237  stream << '(';
238  char const* sep = "";
239  for (auto const& id : identifiers) {
240  stream << sep << id;
241  sep = ", ";
242  }
243  stream << ')';
244 }