plugify 1.2.8
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends | List of all members
plg::version< I1, I2, I3 > Class Template Reference

Public Types

using trivially_relocatable = std::conditional_t< is_trivially_relocatable< I1 >::value &&is_trivially_relocatable< I2 >::value &&is_trivially_relocatable< I3 >::value, version, void >
 

Public Member Functions

constexpr version (const version &)=default
 
constexpr version (version &&)=default
 
constexpr versionoperator= (const version &)=default
 
constexpr versionoperator= (version &&)=default
 
constexpr I1 major () const noexcept
 
constexpr I2 minor () const noexcept
 
constexpr I3 patch () const noexcept
 
constexpr const stringprerelease_tag () const
 
constexpr const stringbuild_metadata () const
 
constexpr string to_string () const
 

Friends

class detail::version_parser
 
class detail::prerelease_comparator
 

Detailed Description

template<typename I1 = int, typename I2 = int, typename I3 = int>
class plg::version< I1, I2, I3 >

Definition at line 76 of file version.hpp.

Member Typedef Documentation

◆ trivially_relocatable

template<typename I1 = int, typename I2 = int, typename I3 = int>
using plg::version< I1, I2, I3 >::trivially_relocatable = std::conditional_t< is_trivially_relocatable<I1>::value && is_trivially_relocatable<I2>::value && is_trivially_relocatable<I3>::value, version, void>

Definition at line 81 of file version.hpp.

Member Function Documentation

◆ build_metadata()

template<typename I1 = int, typename I2 = int, typename I3 = int>
constexpr const string & plg::version< I1, I2, I3 >::build_metadata ( ) const
inlineconstexpr

Definition at line 99 of file version.hpp.

◆ major()

template<typename I1 = int, typename I2 = int, typename I3 = int>
constexpr I1 plg::version< I1, I2, I3 >::major ( ) const
inlineconstexprnoexcept

Definition at line 94 of file version.hpp.

◆ minor()

template<typename I1 = int, typename I2 = int, typename I3 = int>
constexpr I2 plg::version< I1, I2, I3 >::minor ( ) const
inlineconstexprnoexcept

Definition at line 95 of file version.hpp.

◆ patch()

template<typename I1 = int, typename I2 = int, typename I3 = int>
constexpr I3 plg::version< I1, I2, I3 >::patch ( ) const
inlineconstexprnoexcept

Definition at line 96 of file version.hpp.

◆ prerelease_tag()

template<typename I1 = int, typename I2 = int, typename I3 = int>
constexpr const string & plg::version< I1, I2, I3 >::prerelease_tag ( ) const
inlineconstexpr

Definition at line 98 of file version.hpp.

◆ to_string()

template<typename I1 , typename I2 , typename I3 >
constexpr string plg::version< I1, I2, I3 >::to_string ( ) const
constexpr

Definition at line 130 of file version.hpp.

Friends And Related Symbol Documentation

◆ detail::prerelease_comparator

template<typename I1 = int, typename I2 = int, typename I3 = int>
friend class detail::prerelease_comparator
friend

Definition at line 78 of file version.hpp.

◆ detail::version_parser

template<typename I1 = int, typename I2 = int, typename I3 = int>
friend class detail::version_parser
friend

Definition at line 77 of file version.hpp.


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