pImpl
pImpl Idiom in C++
Loading...
Searching...
No Matches
pImpl_p.h
1/*
2 Copyright (c) 2023, Pascal JEAN aka epsilonrt
3 All rights reserved.
4
5 SPDX-License-Identifier: BSD-3-Clause
6*/
7#pragma once
8#include "pImpl.h"
9
27 Private (PimplClass *q = nullptr) : q_ptr (q) {}
28
34 virtual ~Private () = default;
35
40};
PimplClass.
Definition pImpl.h:39
The PimplClass::Private class.
Definition pImpl_p.h:19
Private(PimplClass *q=nullptr)
Construct a new Private object.
Definition pImpl_p.h:27
PimplClass *const q_ptr
q-ptr that points to the API class
Definition pImpl_p.h:39
virtual ~Private()=default
Destroy the Private object.