Warning, file /include/catch2/internal/catch_noncopyable.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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