Boost Users :
Subject: [Boost-users] Conditionally show_progress ?
From: David Doria (daviddoria_at_[hidden])
Date: 2009-05-14 12:52:03
I would like to do something like this
void Conditional(const bool show)
unsigned int NumIters = 1e9;
show_progress = boost::progress_display(NumIters);
for(unsigned int i = 0; i < NumIters; i++)
temp = sin(i) / i;
It doesn't seem like I can instantiate a progress_display like this. Is
there a way to conditionally have a progress display?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net