* testsuite/util/io/prog_bar.cc: Qualify size_t.
* testsuite/util/io/prog_bar.hpp: Likewise.
* testsuite/util/io/verified_cmd_line_input.hpp: Likewise.
From-SVN: r216520
+2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
+
+ * testsuite/util/io/prog_bar.cc: Qualify size_t.
+ * testsuite/util/io/prog_bar.hpp: Likewise.
+ * testsuite/util/io/verified_cmd_line_input.hpp: Likewise.
+
2014-10-21 Ville Voutilainen <ville.voutilainen@gmail.com>
Implement more Library Fundamentals v1 variable templates.
namespace test
{
prog_bar::
- prog_bar(size_t max, std::ostream& r_os, bool display/*= true*/) :
+ prog_bar(std::size_t max, std::ostream& r_os, bool display/*= true*/) :
m_cur(0),
m_max(max),
m_cur_disp(0),
enum{num_disp = 40};
public:
- prog_bar(size_t max, std::ostream& r_os, bool display = true);
+ prog_bar(std::size_t max, std::ostream& r_os, bool display = true);
void
inc();
operator=(const prog_bar& );
private:
- size_t m_cur;
- const size_t m_max;
+ std::size_t m_cur;
+ const std::size_t m_max;
- size_t m_cur_disp;
+ std::size_t m_cur_disp;
std::ostream& m_r_os;
namespace test
{
void
- verify_argc(size_t given, size_t required);
+ verify_argc(std::size_t given, std::size_t required);
void
verify_prob(double prob);
double
get_cmd_line_prob(int argc, char* a_p_argv[], int argn);
- size_t
+ std::size_t
get_cmd_line_size(int argc, char* a_p_argv[], int argn);
bool