Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::TStackSentinel< BUFFER_BYTES > Class Template Referencefinal

#include <TStackSentinel.h>

Public Member Functions

 TStackSentinel ()
 
 ~TStackSentinel ()
 

Static Public Member Functions

static auto makeUnique () -> std::unique_ptr< TStackSentinel >
 

Detailed Description

template<std::size_t BUFFER_BYTES = 16 * 1024>
class ph::TStackSentinel< BUFFER_BYTES >

A simple stack memory corruption detector. Reference: https://blog.unity.com/technology/debugging-memory-corruption-who-the-hell-writes-2-into-my-stack-2

Constructor & Destructor Documentation

◆ TStackSentinel()

template<std::size_t BUFFER_BYTES>
ph::TStackSentinel< BUFFER_BYTES >::TStackSentinel ( )
inline

◆ ~TStackSentinel()

template<std::size_t BUFFER_BYTES>
ph::TStackSentinel< BUFFER_BYTES >::~TStackSentinel ( )
inline

Member Function Documentation

◆ makeUnique()

template<std::size_t BUFFER_BYTES>
auto ph::TStackSentinel< BUFFER_BYTES >::makeUnique ( ) -> std::unique_ptr<TStackSentinel>
inlinestatic

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