Skip to content

Commit cdac1a7

Browse files
committed
Add small starter blurb to the docs
1 parent 896401f commit cdac1a7

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

doc/modules/ROOT/pages/decimal128_t.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ explicit BOOST_DECIMAL_CXX20_CONSTEXPR decimal128_t(Float val) noexcept;
5454
template <typename Integer>
5555
explicit constexpr decimal128_t(Integer val) noexcept;
5656
57+
// Extension: Construction from (c)string
58+
explicit constexpr decimal128_t(const char* str);
59+
60+
#ifndef BOOST_DECIMAL_HAS_STD_STRING_VIEW
61+
explicit inline decimal128_t(const std::string& str);
62+
#else
63+
explicit constexpr decimal128_t(std::string_view str);
64+
#endif
65+
5766
template <typename UnsignedIntegral, typename Integral>
5867
constexpr decimal128_t(UnsignedIntegral coeff, Integral exp, bool sign = false) noexcept;
5968

doc/modules/ROOT/pages/decimal_fast128_t.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ explicit BOOST_DECIMAL_CXX20_CONSTEXPR decimal_fast128_t(Float val) noexcept;
5656
template <typename Integer>
5757
explicit constexpr decimal_fast128_t(Integer val) noexcept;
5858
59+
// Extension: Construction from (c)string
60+
explicit constexpr decimal_fast128_t(const char* str);
61+
62+
#ifndef BOOST_DECIMAL_HAS_STD_STRING_VIEW
63+
explicit inline decimal_fast128_t(const std::string& str);
64+
#else
65+
explicit constexpr decimal_fast128_t(std::string_view str);
66+
#endif
67+
5968
template <typename UnsignedIntegral, typename Integral>
6069
constexpr decimal_fast128_t(UnsignedIntegral coeff, Integral exp, bool sign = false) noexcept;
6170

doc/modules/ROOT/pages/decimal_fast32_t.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ explicit BOOST_DECIMAL_CXX20_CONSTEXPR decimal_fast32_t(Float val) noexcept;
5656
template <typename Integer>
5757
explicit constexpr decimal_fast32_t(Integer val) noexcept;
5858
59+
// Extension: Construction from (c)string
60+
explicit constexpr decimal_fast32_t(const char* str);
61+
62+
#ifndef BOOST_DECIMAL_HAS_STD_STRING_VIEW
63+
explicit inline decimal_fast32_t(const std::string& str);
64+
#else
65+
explicit constexpr decimal_fast32_t(std::string_view str);
66+
#endif
67+
5968
template <typename UnsignedIntegral, typename Integral>
6069
constexpr decimal_fast32_t(UnsignedIntegral coeff, Integral exp, bool sign = false) noexcept;
6170

doc/modules/ROOT/pages/decimal_fast64_t.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ explicit BOOST_DECIMAL_CXX20_CONSTEXPR decimal_fast64_t(Float val) noexcept;
5656
template <typename Integer>
5757
explicit constexpr decimal_fast64_t(Integer val) noexcept;
5858
59+
// Extension: Construction from (c)string
60+
explicit constexpr decimal_fast64_t(const char* str);
61+
62+
#ifndef BOOST_DECIMAL_HAS_STD_STRING_VIEW
63+
explicit inline decimal_fast64_t(const std::string& str);
64+
#else
65+
explicit constexpr decimal_fast64_t(std::string_view str);
66+
#endif
67+
5968
template <typename UnsignedIntegral, typename Integral>
6069
constexpr decimal_fast64_t(UnsignedIntegral coeff, Integral exp, bool sign = false) noexcept;
6170

0 commit comments

Comments
 (0)