KASKADE 7 development version
get_protected_constructor.hh
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2/* */
3/* This file is part of the library KASKADE 7 */
4/* https://www.zib.de/research/projects/kaskade7-finite-element-toolbox */
5/* */
6/* Copyright (C) 2002-2011 Zuse Institute Berlin */
7/* */
8/* KASKADE 7 is distributed under the terms of the ZIB Academic License. */
9/* see $KASKADE/academic.txt */
10/* */
11/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
12/*
13 * get_protected_constructor.hh
14 *
15 * Created on: 06.01.2012
16 * Author: Lars Lubkoll
17 */
18
19#ifndef GET_PROTECTED_CONSTRUCTOR_HH_
20#define GET_PROTECTED_CONSTRUCTOR_HH_
21
23template <class Type>
24class GetProtectedConstructor : public Type{
25public:
26 GetProtectedConstructor(Type const& type) : Type(type){}
27};
28
29#endif /* GET_PROTECTED_CONSTRUCTOR_HH_ */
A wrapper class for access to protected constructors.
GetProtectedConstructor(Type const &type)