From 992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 9 Jan 2025 22:12:06 +0100 Subject: New upstream version 2.7.0~rc8+repack --- pimpl_h.hpp | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'pimpl_h.hpp') diff --git a/pimpl_h.hpp b/pimpl_h.hpp index fae3a560..b2027615 100755 --- a/pimpl_h.hpp +++ b/pimpl_h.hpp @@ -1,29 +1,29 @@ -#ifndef PIMPL_H_HPP_ -#define PIMPL_H_HPP_ - -#include - -// -// opaque implementation type with perfect forwarding of constructor arguments -// -// see pimpl_impl.hpp for the out-of-line definitions of the members and lifetime management -// -// thanks to Herb Sutter (http://herbsutter.com/gotw/_101/) for the implementation -// -template -class pimpl -{ -private: - std::unique_ptr m_; - -public: - pimpl (); - template pimpl (Args&& ...); - ~pimpl (); - T * operator -> (); - T const * operator -> () const; - T& operator * (); - T const& operator * () const; -}; - -#endif +#ifndef PIMPL_H_HPP_ +#define PIMPL_H_HPP_ + +#include + +// +// opaque implementation type with perfect forwarding of constructor arguments +// +// see pimpl_impl.hpp for the out-of-line definitions of the members and lifetime management +// +// thanks to Herb Sutter (http://herbsutter.com/gotw/_101/) for the implementation +// +template +class pimpl +{ +private: + std::unique_ptr m_; + +public: + pimpl (); + template pimpl (Args&& ...); + ~pimpl (); + T * operator -> (); + T const * operator -> () const; + T& operator * (); + T const& operator * () const; +}; + +#endif -- cgit v1.2.3