diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-08-30 07:35:12 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-08-30 07:35:12 +0200 |
commit | f0a94256e25c844ca2ff99377bc8b2fb94f69e84 (patch) | |
tree | 91f5973c567762a975ae5084b7b27217a17a64f5 /asl/meta_tests.cpp | |
parent | 2cd972bb3eed7886a6b1d0d1b3ead24c8cf3fe4f (diff) |
Fuse function and reference pointers
Diffstat (limited to 'asl/meta_tests.cpp')
-rw-r--r-- | asl/meta_tests.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/asl/meta_tests.cpp b/asl/meta_tests.cpp index 210e735..a4f3ad8 100644 --- a/asl/meta_tests.cpp +++ b/asl/meta_tests.cpp @@ -161,4 +161,7 @@ static_assert(asl::is_same<int, asl::un_ref_t<int&>>); static_assert(asl::is_same<int, asl::un_ref_t<int&&>>);
static_assert(asl::is_same<int() &, asl::un_ref_t<int() &>>);
+using F = void(int) const &;
+using Fr = asl::tame_t<F>&;
+
int main() { return 0; }
|