Mercurial > octave
comparison libinterp/corefcn/pr-output.cc @ 21662:5b9868c2e212
maint: Octave coding convention cleanups.
* Figure.cc, QtHandlesUtils.cc, files-dock-widget.cc, find-files-dialog.cc,
debug.cc, ls-hdf5.h, oct-fstrm.h, oct-iostrm.h, oct-stdstrm.h, oct-stream.h,
pr-output.cc, sysdep.cc, zfstream.h, pt-cbinop.cc, f77-fcn.h, DASPK.cc,
DASSL.cc, cmd-hist.cc, glob-match.h:
Cuddle angle bracket '<' next to C++ cast operator.
Space between variable reference and variable name (int& a).
Space between bitwise operators and their operands (A & B).
Create typedef tree_expression_ptr_t to avoid "tree_expression *&a"
which is unclear.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 02 May 2016 11:13:50 -0700 |
parents | d5963a6e29c2 |
children | aba2e6293dd8 |
comparison
equal
deleted
inserted
replaced
21661:1b9a36a66b01 | 21662:5b9868c2e212 |
---|---|
1660 { | 1660 { |
1661 octave_preserve_stream_state stream_state (os); | 1661 octave_preserve_stream_state stream_state (os); |
1662 | 1662 |
1663 os << " " | 1663 os << " " |
1664 << std::setw (8) << std::setprecision (1) | 1664 << std::setw (8) << std::setprecision (1) |
1665 << std::setiosflags (std::ios::scientific|std::ios::left) | 1665 << std::setiosflags (std::ios::scientific | std::ios::left) |
1666 << scale | 1666 << scale |
1667 << " *\n"; | 1667 << " *\n"; |
1668 | 1668 |
1669 if (! Vcompact_format) | 1669 if (! Vcompact_format) |
1670 os << "\n"; | 1670 os << "\n"; |