Skip to content

[mem.res] Fix whitespace around ptr-declarators and template arguments #1840

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 23, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -11357,16 +11357,16 @@
void construct(T* p, Args&&... args);

template <class T1, class T2, class... Args1, class... Args2>
void construct(pair<T1,T2>* p, piecewise_construct_t,
void construct(pair<T1, T2>* p, piecewise_construct_t,
tuple<Args1...> x, tuple<Args2...> y);
template <class T1, class T2>
void construct(pair<T1,T2>* p);
void construct(pair<T1, T2>* p);
template <class T1, class T2, class U, class V>
void construct(pair<T1,T2>* p, U&& x, V&& y);
void construct(pair<T1, T2>* p, U&& x, V&& y);
template <class T1, class T2, class U, class V>
void construct(pair<T1,T2>* p, const pair<U, V>& pr);
void construct(pair<T1, T2>* p, const pair<U, V>& pr);
template <class T1, class T2, class U, class V>
void construct(pair<T1,T2>* p, pair<U, V>&& pr);
void construct(pair<T1, T2>* p, pair<U, V>&& pr);

template <class T>
void destroy(T* p);
Expand Down Expand Up @@ -11496,7 +11496,7 @@
\indexlibrarymember{construct}{polymorphic_allocator}%
\begin{itemdecl}
template <class T1, class T2, class... Args1, class... Args2>
void construct(pair<T1,T2>* p, piecewise_construct_t, tuple<Args1...> x, tuple<Args2...> y);
void construct(pair<T1, T2>* p, piecewise_construct_t, tuple<Args1...> x, tuple<Args2...> y);
\end{itemdecl}

\begin{itemdescr}
Expand Down Expand Up @@ -11582,7 +11582,7 @@
\indexlibrarymember{construct}{polymorphic_allocator}%
\begin{itemdecl}
template <class T1, class T2>
void construct(pair<T1,T2>* p);
void construct(pair<T1, T2>* p);
\end{itemdecl}

\begin{itemdescr}
Expand All @@ -11597,7 +11597,7 @@
\indexlibrarymember{construct}{polymorphic_allocator}%
\begin{itemdecl}
template <class T1, class T2, class U, class V>
void construct(pair<T1,T2>* p, U&& x, V&& y);
void construct(pair<T1, T2>* p, U&& x, V&& y);
\end{itemdecl}

\begin{itemdescr}
Expand All @@ -11614,7 +11614,7 @@
\indexlibrarymember{construct}{polymorphic_allocator}%
\begin{itemdecl}
template <class T1, class T2, class U, class V>
void construct(pair<T1,T2>* p, const pair<U, V>& pr);
void construct(pair<T1, T2>* p, const pair<U, V>& pr);
\end{itemdecl}

\begin{itemdescr}
Expand All @@ -11631,7 +11631,7 @@
\indexlibrarymember{construct}{polymorphic_allocator}%
\begin{itemdecl}
template <class T1, class T2, class U, class V>
void construct(pair<T1,T2>* p, pair<U, V>&& pr);
void construct(pair<T1, T2>* p, pair<U, V>&& pr);
\end{itemdecl}

\begin{itemdescr}
Expand Down Expand Up @@ -11869,8 +11869,8 @@
pool_options options() const;

protected:
void *do_allocate(size_t bytes, size_t alignment) override;
void do_deallocate(void *p, size_t bytes, size_t alignment) override;
void* do_allocate(size_t bytes, size_t alignment) override;
void do_deallocate(void* p, size_t bytes, size_t alignment) override;

bool do_is_equal(const memory_resource& other) const noexcept override;
};
Expand All @@ -11892,7 +11892,7 @@
unsynchronized_pool_resource& operator=(const unsynchronized_pool_resource&) = delete;

void release();
memory_resource *upstream_resource() const;
memory_resource* upstream_resource() const;
pool_options options() const;

protected:
Expand Down Expand Up @@ -12147,20 +12147,20 @@
\begin{codeblock}
namespace std::pmr {
class monotonic_buffer_resource : public memory_resource {
memory_resource *upstream_rsrc; // \expos
void *current_buffer; // \expos
memory_resource* upstream_rsrc; // \expos
void* current_buffer; // \expos
size_t next_buffer_size; // \expos

public:
explicit monotonic_buffer_resource(memory_resource *upstream);
monotonic_buffer_resource(size_t initial_size, memory_resource *upstream);
monotonic_buffer_resource(void *buffer, size_t buffer_size, memory_resource *upstream);
explicit monotonic_buffer_resource(memory_resource* upstream);
monotonic_buffer_resource(size_t initial_size, memory_resource* upstream);
monotonic_buffer_resource(void* buffer, size_t buffer_size, memory_resource* upstream);

monotonic_buffer_resource()
: monotonic_buffer_resource(get_default_resource()) {}
explicit monotonic_buffer_resource(size_t initial_size)
: monotonic_buffer_resource(initial_size, get_default_resource()) {}
monotonic_buffer_resource(void *buffer, size_t buffer_size)
monotonic_buffer_resource(void* buffer, size_t buffer_size)
: monotonic_buffer_resource(buffer, buffer_size, get_default_resource()) {}

monotonic_buffer_resource(const monotonic_buffer_resource&) = delete;
Expand Down