Vulkan-Hpp
vk::Optional< RefType > Class Template Reference

#include <vulkan.hpp>

Public Member Functions

 Optional (RefType &reference) VULKAN_HPP_NOEXCEPT
 
 Optional (RefType *ptr) VULKAN_HPP_NOEXCEPT
 
 Optional (std::nullptr_t) VULKAN_HPP_NOEXCEPT
 
 operator RefType * () const VULKAN_HPP_NOEXCEPT
 
RefType const * operator-> () const VULKAN_HPP_NOEXCEPT
 
 operator bool () const VULKAN_HPP_NOEXCEPT
 

Detailed Description

template<typename RefType>
class vk::Optional< RefType >

Definition at line 566 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ Optional() [1/3]

template<typename RefType >
vk::Optional< RefType >::Optional ( RefType &  reference)
inline

Definition at line 569 of file vulkan.hpp.

◆ Optional() [2/3]

template<typename RefType >
vk::Optional< RefType >::Optional ( RefType *  ptr)
inline

Definition at line 574 of file vulkan.hpp.

◆ Optional() [3/3]

template<typename RefType >
vk::Optional< RefType >::Optional ( std::nullptr_t  )
inline

Definition at line 579 of file vulkan.hpp.

Member Function Documentation

◆ operator bool()

template<typename RefType >
vk::Optional< RefType >::operator bool ( ) const
inlineexplicit

Definition at line 594 of file vulkan.hpp.

◆ operator RefType *()

template<typename RefType >
vk::Optional< RefType >::operator RefType * ( ) const
inline

Definition at line 584 of file vulkan.hpp.

◆ operator->()

template<typename RefType >
RefType const* vk::Optional< RefType >::operator-> ( ) const
inline

Definition at line 589 of file vulkan.hpp.


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