Fix line wrapping in pdf

This commit is contained in:
Peter Dimov
2017-06-15 21:34:53 +03:00
parent 5b817ba04d
commit 8812114601
3 changed files with 28 additions and 16 deletions

View File

@@ -105,10 +105,10 @@ Returns:: `*this`.
NOTE: `weak_this_` is unchanged.
```
template<class T> shared_ptr<T> enable_shared_from_this<T>::shared_from_this();
template<class T> shared_ptr<T> shared_from_this();
```
```
template<class T> shared_ptr<T const> enable_shared_from_this<T>::shared_from_this() const;
template<class T> shared_ptr<T const> shared_from_this() const;
```
[none]
* {blank}
@@ -133,10 +133,10 @@ the construction of `p` will automatically initialize `p\->weak_this_` to `p`.
====
```
template<class T> weak_ptr<T> enable_shared_from_this<T>::weak_from_this() noexcept;
template<class T> weak_ptr<T> weak_from_this() noexcept;
```
```
template<class T> weak_ptr<T const> enable_shared_from_this<T>::weak_from_this() const noexcept;
template<class T> weak_ptr<T const> weak_from_this() const noexcept;
```
[none]
* {blank}

View File

@@ -76,11 +76,15 @@ namespace boost {
template<class T> void swap(scoped_array<T> & a, scoped_array<T> & b) noexcept;
template<class T> bool operator==( scoped_array<T> const & p, std::nullptr_t ) noexcept;
template<class T> bool operator==( std::nullptr_t, scoped_array<T> const & p ) noexcept;
template<class T>
bool operator==( scoped_array<T> const & p, std::nullptr_t ) noexcept;
template<class T>
bool operator==( std::nullptr_t, scoped_array<T> const & p ) noexcept;
template<class T> bool operator!=( scoped_array<T> const & p, std::nullptr_t ) noexcept;
template<class T> bool operator!=( std::nullptr_t, scoped_array<T> const & p ) noexcept;
template<class T>
bool operator!=( scoped_array<T> const & p, std::nullptr_t ) noexcept;
template<class T>
bool operator!=( std::nullptr_t, scoped_array<T> const & p ) noexcept;
}
```
@@ -154,14 +158,18 @@ Equivalent to `a.swap(b)`.
### comparisons
template<class T> bool operator==( scoped_array<T> const & p, std::nullptr_t ) noexcept;
template<class T>
bool operator==( scoped_array<T> const & p, std::nullptr_t ) noexcept;
template<class T> bool operator==( std::nullptr_t, scoped_array<T> const & p ) noexcept;
template<class T>
bool operator==( std::nullptr_t, scoped_array<T> const & p ) noexcept;
Returns `p.get() == nullptr`.
template<class T> bool operator!=( scoped_array<T> const & p, std::nullptr_t ) noexcept;
template<class T>
bool operator!=( scoped_array<T> const & p, std::nullptr_t ) noexcept;
template<class T> bool operator!=( std::nullptr_t, scoped_array<T> const & p ) noexcept;
template<class T>
bool operator!=( std::nullptr_t, scoped_array<T> const & p ) noexcept;
Returns `p.get() != nullptr`.

View File

@@ -73,11 +73,15 @@ namespace boost {
template<class T> void swap(scoped_ptr<T> & a, scoped_ptr<T> & b) noexcept;
template<class T> bool operator==( scoped_ptr<T> const & p, std::nullptr_t ) noexcept;
template<class T> bool operator==( std::nullptr_t, scoped_ptr<T> const & p ) noexcept;
template<class T>
bool operator==( scoped_ptr<T> const & p, std::nullptr_t ) noexcept;
template<class T>
bool operator==( std::nullptr_t, scoped_ptr<T> const & p ) noexcept;
template<class T> bool operator!=( scoped_ptr<T> const & p, std::nullptr_t ) noexcept;
template<class T> bool operator!=( std::nullptr_t, scoped_ptr<T> const & p ) noexcept;
template<class T>
bool operator!=( scoped_ptr<T> const & p, std::nullptr_t ) noexcept;
template<class T>
bool operator!=( std::nullptr_t, scoped_ptr<T> const & p ) noexcept;
}
```