HOPS
HOPS class reference
Namespaces | Functions
MHO_SelfName.hh File Reference

constexpr to strip path prefix from FILE macros More...

#include <atomic>
#include <cstdint>
#include <thread>

Go to the source code of this file.

Namespaces

 hops
 
 hops::selfname
 

Functions

constexpr const char * hops::selfname::file_basename (const char *str)
 Returns the base name (file name without path) from a given string. More...
 
constexpr const char * hops::selfname::r_slash (const char *str)
 Checks if a string starts with '/', recursively. More...
 
constexpr const char * hops::selfname::str_end (const char *str)
 
constexpr bool hops::selfname::str_slash (const char *str)
 Checks if a string starts with '/'. Used for stripping path prefix from FILE. More...
 

Detailed Description

constexpr to strip path prefix from FILE macros