PMT Renovated main-branch
Partition Manager Tool is a fast, reliable, and feature-rich CLI application for Android devices that enables advanced partition operations such as backup, flashing, erasing, information retrieval, and more.
Loading...
Searching...
No Matches
Helper::DeepConst< T > Struct Template Reference

Add the const qualifier to the input type. More...

#include <definations.hpp>

Public Types

using type = std::add_const_t< T >
 

Related Symbols

(Note that these are not member symbols.)

template<typename T >
using DeepConst_t = DeepConst< T >::type
 Shorcut of DeepConst<T>::type.
 

Detailed Description

template<typename T>
struct Helper::DeepConst< T >

Add the const qualifier to the input type.

std::is_same_v<DeepConst<int>::type, const int> // Equals to true
std::is_same_v<DeepConst<int*>::type, const int*> // Equals to true
T forward(T... args)
Template Parameters
TInput type.
Note
Other overloads exist to maintain functionality, but they are not mentioned in the documentation. Please refer to the code.

Friends And Related Symbol Documentation

◆ DeepConst_t

template<typename T >
template<typename T >
using DeepConst_t = DeepConst<T>::type
related

Shorcut of DeepConst<T>::type.

std::is_same_v<DeepConst_t<int>, const int> // Equals to true.

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