This commit moves the files under `subsys/cpp` directory to the `lib/cpp` directory because the C++ ABI runtime library and the standard C++ library components are not a "subsystem" (aka. API) in conventional sense and is better described as a "library." Classifying the C++ ABI runtime library and the standard C++ library as "libraries" instead of "subsystems" also better aligns with how the existing C standard library implementation (`lib/libc`) is handled. Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
26 lines
527 B
C++
26 lines
527 B
C++
/*
|
|
* Copyright (c) 2015 Wind River Systems, Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/*
|
|
* @file
|
|
* @brief Stub for C++ virtual tables
|
|
*/
|
|
|
|
/**
|
|
*
|
|
* @brief basic virtual tables required for classes to build
|
|
*
|
|
*/
|
|
namespace __cxxabiv1 {
|
|
class __class_type_info {
|
|
virtual void dummy();
|
|
};
|
|
class __si_class_type_info {
|
|
virtual void dummy();
|
|
};
|
|
void __class_type_info::dummy() { } // causes the vtable to get created here
|
|
void __si_class_type_info::dummy() { } // causes the vtable to get created here
|
|
};
|