openMSX
Public Member Functions | List of all members
FreeStringStorage Struct Reference

StringStorage: Acts like a 'const char*', but in addition calls free() when the pointer goes out of scope. More...

#include <StringStorage.hh>

Public Member Functions

void operator() (char *p) const
 

Detailed Description

StringStorage: Acts like a 'const char*', but in addition calls free() when the pointer goes out of scope.

Definition at line 13 of file StringStorage.hh.

Member Function Documentation

◆ operator()()

void FreeStringStorage::operator() ( char *  p) const
inline

Definition at line 15 of file StringStorage.hh.


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