Calculator  Step 6
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 234 of file node_impl.cpp.

Referenced by node_function::print_node().

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