]> https://gitweb.dealii.org/ - dealii.git/commit
Utilize the C++11 constructors of std::[io]stream taking a std::string. 6529/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 8 May 2018 09:18:18 +0000 (17:18 +0800)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 8 May 2018 10:45:24 +0000 (18:45 +0800)
commit5fc1011824491a4a47cd2668fa58345878303c45
tree629b9b05295e2bd0891ab961d71a08d0773a81be
parent0457ad7904a4582d31d9301ba51c391f9bf268f2
Utilize the C++11 constructors of std::[io]stream taking a std::string.

Previously, we had widely used the constructors that take a char* and for that needed
to call the '.c_str()' function of std::string. This is now no longer necessary in C++11.
33 files changed:
examples/step-10/step-10.cc
examples/step-12/step-12.cc
examples/step-18/step-18.cc
examples/step-19/step-19.cc
examples/step-23/step-23.cc
examples/step-24/step-24.cc
examples/step-25/step-25.cc
examples/step-26/step-26.cc
examples/step-27/step-27.cc
examples/step-28/step-28.cc
examples/step-29/step-29.cc
examples/step-30/step-30.cc
examples/step-32/step-32.cc
examples/step-33/step-33.cc
examples/step-34/step-34.cc
examples/step-35/step-35.cc
examples/step-37/step-37.cc
examples/step-38/step-38.cc
examples/step-39/step-39.cc
examples/step-40/step-40.cc
examples/step-41/step-41.cc
examples/step-42/step-42.cc
examples/step-43/step-43.cc
examples/step-45/step-45.cc
examples/step-47/step-47.cc
examples/step-48/step-48.cc
examples/step-50/step-50.cc
examples/step-51/step-51.cc
examples/step-52/step-52.cc
examples/step-53/step-53.cc
examples/step-54/step-54.cc
examples/step-55/step-55.cc
examples/step-7/step-7.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.