Update formatting in documentation

This commit is contained in:
Glen Fernandes
2018-08-27 00:57:45 -04:00
parent edcd9e2cf5
commit 65b98db868

View File

@ -44,23 +44,29 @@ public:
, empty_value<Allocator, 1>(empty_init_t(), a) , empty_value<Allocator, 1>(empty_init_t(), a)
, ptr_() { } , ptr_() { }
const Ptr& pointer() const const Ptr& pointer() const {
{ return ptr_; } return ptr_;
}
Ptr& pointer() Ptr& pointer() {
{ return ptr_; } return ptr_;
}
const Compare& compare() const const Compare& compare() const {
{ return empty_value<Compare, 0>::get(); } return empty_value<Compare, 0>::get();
}
Compare& compare() Compare& compare() {
{ return empty_value<Compare, 0>::get(); } return empty_value<Compare, 0>::get();
}
const Allocator& allocator() const const Allocator& allocator() const {
{ return empty_value<Allocator, 1>::get(); } return empty_value<Allocator, 1>::get();
}
Allocator& allocator() Allocator& allocator() {
{ return empty_value<Allocator, 1>::get(); } return empty_value<Allocator, 1>::get();
}
private: private:
Ptr ptr_; Ptr ptr_;