Some typos

This commit is contained in:
Antoine Cœur 2020-02-02 17:29:37 +08:00
parent 6a6790ab68
commit 8d92ca865f
14 changed files with 24 additions and 24 deletions

View file

@ -123,7 +123,7 @@ class binary_reader
@return true if and only if system's byte order is little endian
@note from http://stackoverflow.com/a/1001328/266378
@note from https://stackoverflow.com/a/1001328/266378
*/
static constexpr bool little_endianess(int num = 1) noexcept
{

View file

@ -387,7 +387,7 @@ class input_adapter
{
#ifndef NDEBUG
// assertion to check that the iterator range is indeed contiguous,
// see http://stackoverflow.com/a/35008842/266378 for more discussion
// see https://stackoverflow.com/a/35008842/266378 for more discussion
const auto is_contiguous = std::accumulate(
first, last, std::pair<bool, int>(true, 0),
[&first](std::pair<bool, int> res, decltype(*first) val)

View file

@ -4,7 +4,7 @@
#include <nlohmann/detail/meta/void_t.hpp>
// http://en.cppreference.com/w/cpp/experimental/is_detected
// https://en.cppreference.com/w/cpp/experimental/is_detected
namespace nlohmann
{
namespace detail

View file

@ -48,7 +48,7 @@ enum class value_t : std::uint8_t
number_integer, ///< number value (signed integer)
number_unsigned, ///< number value (unsigned integer)
number_float, ///< number value (floating-point)
discarded ///< discarded by the the parser callback function
discarded ///< discarded by the parser callback function
};
/*!