IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 723d7a4f authored by Hans Dembinski's avatar Hans Dembinski
Browse files

less strict ctor delete

parent 30f19966
No related branches found
No related tags found
No related merge requests found
...@@ -98,10 +98,12 @@ namespace corsika::stack { ...@@ -98,10 +98,12 @@ namespace corsika::stack {
private: private:
/** /**
* This is not accessible, since we don't want to allow creating a * This is not accessible, since we don't want to allow creating a
* new stack. * new stack. We don't use templates here, because templates are a better match
* than any overload, except if the overload is exact. This prevents conversion.
*/ */
template <typename... Args> SecondaryView() = delete;
SecondaryView(Args... args) = delete; SecondaryView(SecondaryView&&) = delete;
SecondaryView(const SecondaryView&) = delete;
public: public:
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment