OGLplus (0.52.0) a C++ wrapper for OpenGL

optional.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OGLPLUS_PROG_VAR_OPTIONAL_1405052234_HPP
14 #define OGLPLUS_PROG_VAR_OPTIONAL_1405052234_HPP
15 
16 #include <oglplus/detail/optional.hpp>
18 
19 namespace oglplus {
20 
21 template <typename ProgVar>
22 class OptionalImpl<tag::ProgVar, ProgVar>
23  : public ProgVar
24 {
25 public:
26  OptionalImpl(ProgramName program, StrCRef identifier)
27  : ProgVar(program, identifier, false)
28  { }
29 };
30 
31 } // namespace oglplus
32 
33 #endif // include guard
Program variable wrapper.
String const reference wrapper template.
Definition: ref_tpl.hpp:72

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).