1. 24 Jan, 2021 1 commit
  2. 23 Jan, 2021 1 commit
  3. 14 Jan, 2021 2 commits
  4. 11 Jan, 2021 1 commit
  5. 03 Jan, 2021 2 commits
  6. 31 Dec, 2020 3 commits
  7. 30 Dec, 2020 3 commits
  8. 29 Dec, 2020 12 commits
  9. 28 Dec, 2020 2 commits
    • Jaakko Moisio's avatar
      Fix compilation of input_adapter(container) in edge cases · 467f622c
      Jaakko Moisio authored
      This fixes a compilation issue with the library if trying to use containers that
      don't have non-member `begin()` and `end()` functions via ADL.
      
      This patch extends the `using std::begin` and `using std::end` declarations to
      also cover the return type deduction of the input_adapter() template
      specialization for containers. The previous implementation only enabled the
      detection of `std::begin()` and `std::end()` in the function body, making the
      specialization unusable for container types that only have member `begin()` and
      `end()` functions.
      
      It is not typical to have `using` declarations in the namespace scope in a
      header file. But a C++11 implementation can't rely on fully automatic return
      type deduction, and needs to rely on ADL enabled helper templates. To prevent
      the using declarations leaking, they are enclosed in another nested namespace.
      467f622c
    • Niels Lohmann's avatar
      5dd06714
  10. 26 Dec, 2020 2 commits
  11. 21 Dec, 2020 1 commit
  12. 20 Dec, 2020 4 commits
  13. 19 Dec, 2020 1 commit
  14. 18 Dec, 2020 2 commits
  15. 17 Dec, 2020 1 commit
  16. 16 Dec, 2020 2 commits