[vcpkg] Removed unused template function. (#9287)

This commit is contained in:
dpoliarush 2019-12-21 03:26:40 +02:00 committed by Robert Schumacher
parent c916800646
commit 37265f7a45

View File

@ -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>())>;