OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::oalp::alc_api_traits Class Reference

Policy customizing the generic C-API wrappers for the ALC API. More...

#include <oalplus/alc_api/api_traits.hpp>

Public Types

template<typename R >
using no_result = alc_no_result< R >
 Alias for result type of currently unavailable functions. More...
 
template<typename R >
using result = alc_result< R >
 Alias for result type of optionally available functions.
 

Public Member Functions

template<typename Api , typename Type >
auto load_constant (Api &api, string_view name, type_identity< Type >) -> std::tuple< Type, bool >
 Loads an ALC constant with the specified name and Type.
 
template<typename Api , typename Tag , typename Signature >
auto link_function (Api &api, Tag, string_view name, type_identity< Signature >) -> std::add_pointer_t< Signature >
 Links an ALC function with the specified name and Signature.
 

Detailed Description

Policy customizing the generic C-API wrappers for the ALC API.

See also
default_c_api_traits

Member Typedef Documentation

◆ no_result

template<typename R >
using eagine::oalp::alc_api_traits::no_result = alc_no_result<R>

Alias for result type of currently unavailable functions.

Alias for result type of functions.


The documentation for this class was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).