A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/ct__string__cxx17_8hpp_source.html below:

NCBI C++ ToolKit: include/util/impl/ct_string_cxx17.hpp Source File

1 #ifndef __CT_STRING_CXX17_HPP_INCLUDED__ 2 #define __CT_STRING_CXX17_HPP_INCLUDED__ 39 #include <string_view> 70  template

<

class

_Char=

char

>

75  using sv

= std::basic_string_view<char_type>;

84  template

<

typename

T,

typename

_Ty=std::remove_cvref_t<T>,

typename

_Arg=_Ty>

87  template

<

typename

T,

typename

_Ty=std::remove_cvref_t<T>,

typename

_Arg=_Ty>

91  template

<

class

T,

class

_NonRef=if_available_from<T>>

93

:

sv

{ std::forward<

T

>(o) }

96  template

<

class

_Traits,

class

_Alloc>

97  operator

std::basic_string<_Char, _Traits, _Alloc>()

const 99  const sv

& _this = *

this

;

100  return

std::basic_string<_Char, _Traits, _Alloc>{_this};

109  size_t

_min =

std::min

(

l

.size(),

r

.size());

116  lc

= (

'A'

<=

lc

&&

lc

<=

'Z'

) ?

lc

+

'a'

-

'A'

:

lc

;

117

rc = (

'A'

<= rc && rc <=

'Z'

) ? rc +

'a'

-

'A'

: rc;

123  if

(

l

.size()<

r

.size())

126  if

(

l

.size()>

r

.size())

144  template

<

typename

_CharType,

size_t

N>

151

constexpr

size_t size

()

const

{

return N

;};

155  for

(

size_t i

=0;

i

<=

N

; ++

i

)

160  for

(

size_t i

=0;

i

<

N

; ++

i

)

164  template

<

typename

_CharTraits>

165

constexpr

operator

std::basic_string_view<_CharType, _CharTraits>()

const 180  template

<

typename

_CharType,

size_t

N>

183  template

<

typename

_CharType,

size_t

N,

size_t

M>

187

std::array<_CharType, M+N> res {};

189  for

(

auto

c:

l

.to_view())

192  for

(

auto

c:

r

.to_view())

std::enable_if_t< std::is_constructible< sv, const _Ty & >::value, _Arg > if_available_from

constexpr ct_basic_string() noexcept=default

std::enable_if_t< std::is_constructible< const _Ty &, sv >::value, _Arg > if_available_to

constexpr ct_basic_string(T &&o)

std::basic_string_view< char_type > sv

auto operator+(std::ptrdiff_t off, const indexed_iterator< TArgs... > &other)

constexpr int CompareNocase(const std::string_view &l, const std::string_view &r)

fixed_string(const _CharType(&)[N]) -> fixed_string< _CharType, N-1 >

std::true_type tagStrCase

std::false_type tagStrNocase

const GenericPointer< typename T::ValueType > T2 value

double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)

static bool less(const CSeq_feat *A, const CSeq_feat *B)

static SLJIT_INLINE sljit_ins l(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)

constexpr size_t size() const

constexpr fixed_string(const _CharType(&s)[N+1])

char_type[N+1] array_type

constexpr auto to_view() const -> std::basic_string_view< _CharType >

constexpr fixed_string()=default

constexpr const array_type & get_array() const

constexpr _CharType operator[](size_t i) const

constexpr fixed_string(const std::array< _CharType, N > &s)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4