Adjusted code formatting.

This commit is contained in:
Andrey Semashev 2021-11-16 17:07:13 +03:00
parent 51104850f6
commit f7c17df050

View File

@ -40,7 +40,7 @@ If, for example, you declare a class like this:
``` ```
class MyInt class MyInt
: boost::__operators__<MyInt> : boost::__operators__<MyInt>
{ {
bool operator<(const MyInt& x) const; bool operator<(const MyInt& x) const;
bool operator==(const MyInt& x) const; bool operator==(const MyInt& x) const;
@ -104,10 +104,10 @@ template.
``` ```
template <class T> template <class T>
class point // note: private inheritance is OK here! class point // note: private inheritance is OK here!
: boost::addable< point<T> // point + point : boost::addable< point<T> // point + point
, boost::subtractable< point<T> // point - point , boost::subtractable< point<T> // point - point
, boost::dividable2< point<T>, T // point / T , boost::dividable2< point<T>, T // point / T
, boost::multipliable2< point<T>, T // point * T, T * point , boost::multipliable2< point<T>, T // point * T, T * point
> > > > > > > >
{ {
public: public: