X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=476c0f1878bbe42ce70141f657e58f5a5804ec6f;hb=2136379e8e3cd0010b909a2a7ef2580559cc3ead;hp=410c97683a3404eba2a8a5c7822bd593f87dddd4;hpb=7fb3f08a03ea03edb40f5e73d59381c5a92935fb;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index 410c976..476c0f1 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -40,12 +40,12 @@ namespace clitk { //-------------------------------------------------------------------- // display -#define DD(a) std::cout << #a " = [ " << a << " ]" << std::endl; -#define DDV(a,n) { std::cout << #a " = [ "; for(unsigned int _i_=0; _i_ void _print_container(T const& a) { for(typename T::const_iterator i=a.begin();i!=a.end();++i) { std::cout << *i << " "; };} -#define DDS(a) { std::cout << #a " = [ "; _print_container(a) ; std::cout << " ]" << std::endl;} +#define DDS(a) { std::cout << #a " = [ "; _print_container(a) ; std::cout << " ]" << std::endl;std::cout.flush():} //-------------------------------------------------------------------- // when everything goes wrong