lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
unsafe_pimpl_base.h
00001 /*****************************************************/
00002 /* lean PImpl                   (c) Tobias Zirr 2011 */
00003 /*****************************************************/
00004 
00005 #ifndef LEAN_PIMPL_UNSAFE_PIMPL_BASE
00006 #define LEAN_PIMPL_UNSAFE_PIMPL_BASE
00007 
00008 #include "../lean.h"
00009 
00010 namespace lean
00011 {
00012 namespace pimpl
00013 {
00014 
00016 class unsafe_pimpl_base
00017 {
00018 protected:
00019     LEAN_INLINE unsafe_pimpl_base() { }
00020     LEAN_INLINE unsafe_pimpl_base(const unsafe_pimpl_base&) { }
00021     LEAN_INLINE unsafe_pimpl_base& operator =(const unsafe_pimpl_base&) {  return *this;}
00022 };
00023 
00024 } // namespace
00025 
00026 using pimpl::unsafe_pimpl_base;
00027 
00028 } // namespace
00029 
00030 #endif