brintos

brintos / llvm-project-archived public Read only

0
0
Text · 690 B · 0f9b185 Raw
19 lines · cpp
1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9// REQUIRES: std-at-least-c++2010 11// <type_traits>12 13// is_pod and is_pod_v are deprecated in C++20 by P0767R114 15#include <type_traits>16 17static_assert(std::is_pod<int>::value); // expected-warning {{'is_pod<int>' is deprecated}}18static_assert(std::is_pod_v<int>);      // expected-warning {{'is_pod_v<int>' is deprecated}}19