boost/libs/multiprecision/doc/tutorial_complex_adaptor.qbk
2021-10-05 21:37:46 +02:00

26 lines
719 B
Plaintext

[/
Copyright 2011 - 2020 John Maddock.
Copyright 2013 - 2019 Paul A. Bristow.
Copyright 2013 Christopher Kormanyos.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt).
]
[section:complex_adaptor complex_adaptor]
namespace boost{ namespace multiprecision{
template <class Backend>
struct complex_adaptor;
}}
Class template `complex_adaptor` is designed to sit inbetween class `number` and an actual floating point backend,
in order to create a new complex number type.
It is the means by which we implement __cpp_complex and __complex128.
[endsect] [/section:complex_adaptor complex_adaptor]