File indexing completed on 2025-01-30 10:02:50
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef CATCH_NONCOPYABLE_HPP_INCLUDED
0009 #define CATCH_NONCOPYABLE_HPP_INCLUDED
0010
0011 namespace Catch {
0012 namespace Detail {
0013
0014
0015 class NonCopyable {
0016 NonCopyable( NonCopyable const& ) = delete;
0017 NonCopyable( NonCopyable&& ) = delete;
0018 NonCopyable& operator=( NonCopyable const& ) = delete;
0019 NonCopyable& operator=( NonCopyable&& ) = delete;
0020
0021 protected:
0022 NonCopyable() noexcept = default;
0023 };
0024
0025 }
0026 }
0027
0028 #endif