From 0829cab8f2983a10b57d49762d6268710fcf2183 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 7 Apr 2018 15:21:48 -0700 Subject: [PATCH] Remove from_checked --- include/fmt/format.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 865f132c..fc50d737 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -349,18 +349,11 @@ template inline stdext::checked_array_iterator make_checked(T *p, std::size_t size) { return {p, size}; } - -// Extracts the pointer from a checked iterator. -template -static T *from_checked(stdext::checked_array_iterator p) { return p.base(); } - #else template struct checked { typedef T *type; }; template inline T *make_checked(T *p, std::size_t) { return p; } -template -inline T *from_checked(T *p) { return p; } #endif template