-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
345 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//// | ||
Copyright 2024 Peter Dimov | ||
Distributed under the Boost Software License, Version 1.0. | ||
https://www.boost.org/LICENSE_1_0.txt | ||
//// | ||
|
||
[#ref_digest] | ||
# <boost/hash2/digest.hpp> | ||
:idprefix: ref_digest_ | ||
|
||
``` | ||
namespace boost { | ||
namespace hash2 { | ||
|
||
class digest; | ||
|
||
} // namespace hash2 | ||
} // namespace boost | ||
``` | ||
|
||
## digest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//// | ||
Copyright 2024 Peter Dimov | ||
Distributed under the Boost Software License, Version 1.0. | ||
https://www.boost.org/LICENSE_1_0.txt | ||
//// | ||
|
||
[#ref_endian] | ||
# <boost/hash2/endian.hpp> | ||
:idprefix: ref_endian_ | ||
|
||
``` | ||
namespace boost { | ||
namespace hash2 { | ||
|
||
enum class endian; | ||
|
||
} // namespace hash2 | ||
} // namespace boost | ||
``` | ||
|
||
## endian | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
//// | ||
Copyright 2024 Peter Dimov | ||
Distributed under the Boost Software License, Version 1.0. | ||
https://www.boost.org/LICENSE_1_0.txt | ||
//// | ||
|
||
[#ref_flavor] | ||
# <boost/hash2/flavor.hpp> | ||
:idprefix: ref_flavor_ | ||
|
||
``` | ||
#include <boost/hash2/endian.hpp> | ||
|
||
namespace boost { | ||
namespace hash2 { | ||
|
||
struct default_flavor; | ||
struct little_endian_flavor; | ||
struct big_endian_flavor; | ||
|
||
} // namespace hash2 | ||
} // namespace boost | ||
``` | ||
|
||
## default_flavor | ||
|
||
## little_endian_flavor | ||
|
||
## big_endian_flavor | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
//// | ||
Copyright 2024 Peter Dimov | ||
Distributed under the Boost Software License, Version 1.0. | ||
https://www.boost.org/LICENSE_1_0.txt | ||
//// | ||
|
||
[#ref_get_integral_result] | ||
# <boost/hash2/get_integral_result.hpp> | ||
:idprefix: ref_get_integral_result_ | ||
|
||
``` | ||
namespace boost { | ||
namespace hash2 { | ||
|
||
template<class T, class R> constexpr T get_integral_result( R const& r ); | ||
|
||
} // namespace hash2 | ||
} // namespace boost | ||
``` | ||
|
||
## get_integral_result | ||
|
||
``` | ||
template<class T, class R> constexpr T get_integral_result( R const& r ); | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//// | ||
Copyright 2024 Peter Dimov | ||
Distributed under the Boost Software License, Version 1.0. | ||
https://www.boost.org/LICENSE_1_0.txt | ||
//// | ||
|
||
[#ref_has_constant_size] | ||
# <boost/hash2/has_constant_size.hpp> | ||
:idprefix: ref_has_constant_size_ | ||
|
||
``` | ||
namespace boost { | ||
namespace hash2 { | ||
|
||
template<class T> struct has_constant_size; | ||
|
||
} // namespace hash2 | ||
} // namespace boost | ||
``` | ||
|
||
## has_constant_size | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
//// | ||
Copyright 2024 Peter Dimov | ||
Distributed under the Boost Software License, Version 1.0. | ||
https://www.boost.org/LICENSE_1_0.txt | ||
//// | ||
|
||
[#ref_hash_append] | ||
# <boost/hash2/hash_append.hpp> | ||
:idprefix: ref_hash_append_ | ||
|
||
``` | ||
#include <boost/hash2/flavor.hpp> | ||
|
||
namespace boost { | ||
namespace hash2 { | ||
|
||
template<class Hash, class Flavor = default_flavor, class T> | ||
constexpr void hash_append( Hash& h, Flavor const& f, T const& v ); | ||
|
||
template<class Hash, class Flavor = default_flavor, class It> | ||
constexpr void hash_append_range( Hash& h, Flavor const& f, It first, It last ); | ||
|
||
template<class Hash, class Flavor = default_flavor, class T> | ||
constexpr void hash_append_size( Hash& h, Flavor const& f, T const& v ); | ||
|
||
template<class Hash, class Flavor = default_flavor, class It> | ||
constexpr void hash_append_sized_range( Hash& h, Flavor const& f, It first, It last ); | ||
|
||
template<class Hash, class Flavor = default_flavor, class It> | ||
constexpr void hash_append_unordered_range( Hash& h, Flavor const& f, It first, It last ); | ||
|
||
struct hash_append_tag; | ||
|
||
} // namespace hash2 | ||
} // namespace boost | ||
``` | ||
|
||
## hash_append | ||
|
||
## hash_append_range | ||
|
||
## hash_append_size | ||
|
||
## hash_append_sized_range | ||
|
||
## hash_append_unordered_range | ||
|
||
## hash_append_tag | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
//// | ||
Copyright 2024 Peter Dimov | ||
Distributed under the Boost Software License, Version 1.0. | ||
https://www.boost.org/LICENSE_1_0.txt | ||
//// | ||
|
||
[#ref_hash_append_fwd] | ||
# <boost/hash2/hash_append_fwd.hpp> | ||
:idprefix: ref_hash_append_fwd_ | ||
|
||
## Synopsis | ||
|
||
``` | ||
namespace boost { | ||
namespace hash2 { | ||
|
||
template<class Hash, class Flavor, class T> | ||
constexpr void hash_append( Hash& h, Flavor const& f, T const& v ); | ||
|
||
template<class Hash, class Flavor, class It> | ||
constexpr void hash_append_range( Hash& h, Flavor const& f, It first, It last ); | ||
|
||
template<class Hash, class Flavor, class T> | ||
constexpr void hash_append_size( Hash& h, Flavor const& f, T const& v ); | ||
|
||
template<class Hash, class Flavor, class It> | ||
constexpr void hash_append_sized_range( Hash& h, Flavor const& f, It first, It last ); | ||
|
||
template<class Hash, class Flavor, class It> | ||
constexpr void hash_append_unordered_range( Hash& h, Flavor const& f, It first, It last ); | ||
|
||
struct hash_append_tag; | ||
|
||
} // namespace hash2 | ||
} // namespace boost | ||
``` | ||
|
Oops, something went wrong.