OnixS C++ ICE Binary Order Entry Handler 1.1.1
API Documentation
Loading...
Searching...
No Matches
Strnlen< From, To > Struct Template Reference

Static Public Member Functions

static constexpr size_t compute (const char *s) noexcept

Detailed Description

template<size_t From, size_t To>
struct OnixS::ICE::BOE::Messaging::details::Strnlen< From, To >

Definition at line 55 of file String.h.

Member Function Documentation

◆ compute()

template<size_t From, size_t To>
constexpr size_t compute ( const char * s)
inlinestaticconstexprnoexcept

Definition at line 57 of file String.h.

58 {
59 return (s[From] == '\0') ? From : Strnlen<From + 1, To>::compute(s);
60 }