diff options
author | Randolph Tan <randolph@10gen.com> | 2017-03-22 17:19:42 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2017-03-22 17:19:42 -0400 |
commit | 7b4770c1dbbc2a264a10f4fcfc87025ce832b680 (patch) | |
tree | a0e9e473e65bd8371ef09b47afbd87897a0f0ca1 /src/mongo/base/concept/convertible_to.h | |
parent | 6c5938b9fcedf740f292533ea1c637fd0eccf9f4 (diff) | |
download | mongo-7b4770c1dbbc2a264a10f4fcfc87025ce832b680.tar.gz |
Revert "SERVER-26025 Smart pointer with clone on copy"
This reverts commit 5d141bce7219aeb34d3de8cfae68d643bf9a3a16.
Diffstat (limited to 'src/mongo/base/concept/convertible_to.h')
-rw-r--r-- | src/mongo/base/concept/convertible_to.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mongo/base/concept/convertible_to.h b/src/mongo/base/concept/convertible_to.h deleted file mode 100644 index 57e733418cf..00000000000 --- a/src/mongo/base/concept/convertible_to.h +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once - -namespace mongo { -namespace concept { -/** - * The ConvertibleTo concept models a type which can be converted implicitly into a `T`. - * The code: `T x; x= ConvertibleTo< T >{};` should be valid. - */ -template <typename T> -struct ConvertibleTo { - operator T(); -} -} // namespace concept -} // namespace mongo |