Opened 11 years ago

Last modified 10 years ago

#6458 new Bugs

Bug in a multi_array print_array example

Reported by: nootropic.kint@… Owned by: Ronald Garcia
Milestone: To Be Determined Component: multi_array
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

http://www.boost.org/doc/libs/1_48_0/libs/multi_array/example/print_array.cpp

change

void print(std::ostream& os, const double& x)

to

template<> void print<double>(std::ostream& os, const double& x)

reference: http://stackoverflow.com/questions/9034554/pretty-print-of-boostmulty-array-example-fails/

Change History (1)

comment:1 by anonymous, 10 years ago

Component: Documentationmulti_array
Owner: changed from Matias Capeletto to Ronald Garcia
Note: See TracTickets for help on using tickets.