Skip to content

Commit

Permalink
拆分 inst
Browse files Browse the repository at this point in the history
  • Loading branch information
WentsingNee committed Apr 3, 2024
1 parent 450ee19 commit 3a68f7c
Show file tree
Hide file tree
Showing 11 changed files with 462 additions and 342 deletions.
52 changes: 0 additions & 52 deletions instantiation/container/array.inst.cpp

This file was deleted.

27 changes: 27 additions & 0 deletions instantiation/container/array/array.a1d.inst.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* @file array.a1d.inst.cpp
* @brief
* @date 2024-03-28
* @author Peter
* @ori array.inst.cpp 2020-09-17
* @copyright
* Peter of [ThinkSpirit Laboratory](http://thinkspirit.org/)
* of [Nanjing University of Information Science & Technology](http://www.nuist.edu.cn/)
* all rights reserved
*/

#include <ktest/compatibility/msvc_tmpinst_constexpr.hpp>

#include <kerbal/container/array.hpp>


template class kerbal::container::array<int[8], 8>;

template KERBAL_MSVC_TMPINST_CONSTEXPR14
void kerbal::container::array<int[8], 8>::assign(const_pointer, const_pointer);

template KERBAL_MSVC_TMPINST_CONSTEXPR14
void kerbal::container::array<int[8], 8>::assign(const_iterator, const_iterator);

template KERBAL_MSVC_TMPINST_CONSTEXPR14
void kerbal::container::array<int[8], 8>::assign(const_reverse_iterator, const_reverse_iterator);
27 changes: 27 additions & 0 deletions instantiation/container/array/array.a2d.inst.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* @file array.a2d.inst.cpp
* @brief
* @date 2024-03-28
* @author Peter
* @ori array.inst.cpp 2020-09-17
* @copyright
* Peter of [ThinkSpirit Laboratory](http://thinkspirit.org/)
* of [Nanjing University of Information Science & Technology](http://www.nuist.edu.cn/)
* all rights reserved
*/

#include <ktest/compatibility/msvc_tmpinst_constexpr.hpp>

#include <kerbal/container/array.hpp>


template class kerbal::container::array<int[4][4], 4>;

template KERBAL_MSVC_TMPINST_CONSTEXPR14
void kerbal::container::array<int[4][4], 4>::assign(const_pointer, const_pointer);

template KERBAL_MSVC_TMPINST_CONSTEXPR14
void kerbal::container::array<int[4][4], 4>::assign(const_iterator, const_iterator);

template KERBAL_MSVC_TMPINST_CONSTEXPR14
void kerbal::container::array<int[4][4], 4>::assign(const_reverse_iterator, const_reverse_iterator);
27 changes: 27 additions & 0 deletions instantiation/container/array/array.i.inst.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* @file array.i.inst.cpp
* @brief
* @date 2024-03-28
* @author Peter
* @ori array.inst.cpp 2020-09-17
* @copyright
* Peter of [ThinkSpirit Laboratory](http://thinkspirit.org/)
* of [Nanjing University of Information Science & Technology](http://www.nuist.edu.cn/)
* all rights reserved
*/

#include <ktest/compatibility/msvc_tmpinst_constexpr.hpp>

#include <kerbal/container/array.hpp>


template class kerbal::container::array<int, 64>;

template KERBAL_MSVC_TMPINST_CONSTEXPR14
void kerbal::container::array<int, 64>::assign(const_pointer, const_pointer);

template KERBAL_MSVC_TMPINST_CONSTEXPR14
void kerbal::container::array<int, 64>::assign(const_iterator, const_iterator);

template KERBAL_MSVC_TMPINST_CONSTEXPR14
void kerbal::container::array<int, 64>::assign(const_reverse_iterator, const_reverse_iterator);
Loading

0 comments on commit 3a68f7c

Please sign in to comment.