Calculator  Step 4
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 148 of file node_impl.cpp.

Referenced by node_function::print_node().

149 {
150  stream << '(';
151  char const* sep = "";
152 for (auto const& id : identifiers) {
153  stream << sep << id;
154  sep = ", ";
155  }
156  stream << ')';
157 }