mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 04:38:59 +08:00
[vcpkg] Removed unused template function. (#9287)
This commit is contained in:
parent
c916800646
commit
37265f7a45
@ -11,14 +11,6 @@
|
|||||||
|
|
||||||
namespace vcpkg::Util
|
namespace vcpkg::Util
|
||||||
{
|
{
|
||||||
template<class T>
|
|
||||||
constexpr std::add_const_t<T>& as_const(T& t) noexcept
|
|
||||||
{
|
|
||||||
return t;
|
|
||||||
}
|
|
||||||
template<class T>
|
|
||||||
void as_const(const T&&) = delete;
|
|
||||||
|
|
||||||
template<class Container>
|
template<class Container>
|
||||||
using ElementT =
|
using ElementT =
|
||||||
std::remove_reference_t<decltype(*std::declval<typename std::remove_reference_t<Container>::iterator>())>;
|
std::remove_reference_t<decltype(*std::declval<typename std::remove_reference_t<Container>::iterator>())>;
|
||||||
|
Loading…
Reference in New Issue
Block a user