Skip to content

Commit 2fe4b4d

Browse files
authored
Merge pull request #1118 from akrzemi1/patch-5
Docs: fix example with literals
2 parents 885875c + 45b657b commit 2fe4b4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/modules/ROOT/pages/examples.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ bool float_equal(T lhs, T rhs)
160160
int main()
161161
{
162162
using namespace boost::decimal;
163+
using namespace boost::decimal::literals;
163164

164165
const auto pi_32 {"3.141592653589793238"_DF};
165166
const auto pi_64 {"3.141592653589793238"_DD};

0 commit comments

Comments
 (0)