fix exit code of examples

This commit is contained in:
Oliver Kowalke
2015-06-04 07:05:43 +02:00
parent cbbde4f7d0
commit ff1bad40f2
6 changed files with 20 additions and 4 deletions

View File

@@ -164,6 +164,10 @@ int main()
main_tasks.pop(task);
task();
}
cout << "Done" << std::endl;
return EXIT_SUCCESS;
}
// __________________________________________________________________ //

View File

@@ -23,6 +23,10 @@ int main()
});
auto crange = boost::make_iterator_range(boost::begin(c), boost::end(c));
for (auto n : crange) {
std::cout << n << std::endl;
std::cout << n << " ";
}
std::cout << "\nDone" << std::endl;
return EXIT_SUCCESS;
}

View File

@@ -46,5 +46,7 @@ int main(int argc,char* argv[]){
std::copy(std::begin(words),std::end(words),boost::begin(writer));
return 0;
std::cout << "\nDone" << std::endl;
return EXIT_SUCCESS;
}