📝 cleanup after #650

As <iostream> is not included in json.hpp any more, all code examples need to include <iostream> now.
上级 a0e05793
......@@ -849,6 +849,7 @@ I deeply appreciate the help of the following people.
- [Steffen](https://github.com/koemeet) fixed a potential issue with MSVC and `std::min`.
- [Mike Tzou](https://github.com/Chocobo1) fixed some typos.
- [amrcode](https://github.com/amrcode) noted a missleading documentation about comparison of floats.
- [Oleg Endo](https://github.com/olegendo) reduced the memory consumption by replacing `<iostream>` with `<iosfwd>`
Thanks a lot for helping out! Please [let me know](mailto:mail@nlohmann.me) if I forgot someone.
......
#include "json.hpp"
#include <iostream>
#include <iomanip> // for std::setw
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/Mi7u49cYwMR0cgTH"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/yCTCvQi0ZVxGuL3L"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/dREyaxnVNgG1CAUx"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/jKwlQd7pFg6UcIN5"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/rCEcfTCRY40LDvoR"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/FR2yYACZpx0k3Rzp"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/SIuocSXktJ2lxj0q"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/aeF8S2D89A8lfVx1"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/wB9tQWAyqeajJTVn"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/GmNdQadc8cWDzYpn"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/s5MsN3WV6zsGcWY4"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/zLkp80JFsKEuPd1t"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/SXcTwaW8DVzDT34z"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/mlj2WqOtwBidvuJx"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/zOTLPM0c5dNFZhk3"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/vHKlyYl9DwaUO9UN"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/Sco4kIFMzpkYo37h"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/VXTfLJQl9x7NaHrI"><b>online</b></a>
\ No newline at end of file
#include "json.hpp"
#include <iostream>
#include <deque>
#include <list>
#include <forward_list>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/n2KT4Yk3mzZXKnS5"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/chmc1rH7aNZTIVSp"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/gsHOHaLe3MfVhI2s"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/qpFQRSCnP6iVb3dF"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/zUmWzPFVFx6sEojX"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/hRrKgHP2a0zgdxJ1"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/1BjO38rdSmNGxpyn"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/4p0zccjr9gUI65H2"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/H0DDK6yuoCGZuoFw"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/XyDVBlGsU1DHpRl9"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/nXd0SKQaR6tHukvy"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/Z1uToOcza9ALJxNU"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/AbLqRqEEN5N9W1Fj"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/JQUGGZT8qZyQsHRv"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/ecx4xZQX7VXuhlAz"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/l4fEe7Un5ctCQNuA"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/bP03yg3IIbhARy2F"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/BRt1QpTsOBkiVcRC"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/OY0l4CpfWuDJudyo"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/zTlubIHYOK6EGxnc"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/zRdz49DwtK0gIJuc"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/NlKuJEkKDx7IhN9Z"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/Q0QcnX1LAQT5k7IU"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/fTnaiB7w2ocgAsw8"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/ukuefRRIclE7D7IX"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/I7blCyINJHBX81JG"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/nHLMXLRwA3QWSnsQ"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/LQmVooyLiQWjqnra"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/WQS4WbZC6pX4qZE4"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/bJHYVEctvmaszdBj"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/mrJDlTQD3orHnAdF"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/nAD5pUgjv1DcMhh7"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/XsC14rus4L6meQTg"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/3ylcqXCMzsKBSkxZ"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/jr4aG41Zr1pWUlAw"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/viOKm4V0ccy238mU"><b>online</b></a>
\ No newline at end of file
#include "json.hpp"
#include <iostream>
#include <iomanip> // for std::setw
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/KKfCy1yctyq7PBI1"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/DKPu3VnNVgsQbaSX"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/HjYnuCSOxokNvsRW"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/0rB2LKUCjPlU90XK"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/mvy0nMn3uStrP9tS"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/xc7HomW1EFM5PV6n"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/wvLvTvPt0dovixFE"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/2WSVQXWzRVuAg5pV"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/g1mZBQAdSJE3cNCH"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/1fN2q9R8yJ9LCSlm"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/vp0L5nlCJewdlolt"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/akgHtQw6EFosJSDq"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/N0oo892iXEqaUzej"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/LbNMVYCXawbEelo0"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/SO3kgH5glqC18wJy"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/KknUwdprg6lIp5YK"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/wyOm5ERfxlXcwcSV"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/IN4AQ9AD1JPDNj9Q"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/lxSvv5XGZ8Hmhnwl"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/xCM0BG9ZV6iEMdgr"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/yqzasB01C3NGORaT"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/iu2BpRtjiKeJu2pv"><b>online</b></a>
\ No newline at end of file
#include "json.hpp"
#include <iostream>
#include <iomanip> // for std::setw
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/qGLscdPoE6QH87oD"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/TpEB8tou7Wuyprkm"><b>online</b></a>
\ No newline at end of file
#include "json.hpp"
#include <iostream>
#include <iomanip> // for std::setw
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/DUNMc8fjsGi5C7Ea"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/X9wSCDZNg82T3oix"><b>online</b></a>
\ No newline at end of file
#include "json.hpp"
#include <iostream>
#include <iomanip> // for std::setw
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/wSkYD6Q5RqJWmt3s"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/9MjZO7niLtZaJIIx"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/fbTQdF5PwEeaC2lq"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/bK69SEGarbCwnqIB"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/YwRJe95xb68JVjuI"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/eMrmXhPWD02HJX9x"><b>online</b></a>
\ No newline at end of file
#include "json.hpp"
#include <iostream>
#include <unordered_map>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/FeK53w3zimBjOhtB"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/jAZwFrdZS3DgPh1n"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/6DBW0AukFiY85CMq"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/qnJvFdIQATMPuL6R"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/868NoVK7iU0BZHKz"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/BbthopNwIhKgb4Y9"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/Af1lyC9TuTbIaNHy"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/KrT6PSRUrEC3E6cx"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/J7tEcc5RiRckp3aH"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/RRGqHw8PbuHfJ2MF"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
<a target="_blank" href="https://wandbox.org/permlink/qgQADJFErGWzwFS3"><b>online</b></a>
\ No newline at end of file
<a target="_blank" href="https://wandbox.org/permlink/Fouhqv1pfmWQ8h17"><b>online</b></a>
\ No newline at end of file
#include <iostream>
#include "json.hpp"
using json = nlohmann::json;
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册