From 2a2fe0b8b2b23096a9a9a8c1277515285345a122 Mon Sep 17 00:00:00 2001 From: "Nicholas \"LB\" Braden" Date: Mon, 18 Nov 2013 23:17:17 -0600 Subject: [PATCH 1/4] Create identity.hpp --- tmp-identity/identity.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tmp-identity/identity.hpp diff --git a/tmp-identity/identity.hpp b/tmp-identity/identity.hpp new file mode 100644 index 0000000..632fed1 --- /dev/null +++ b/tmp-identity/identity.hpp @@ -0,0 +1,9 @@ +#ifndef TemplateMetaprogramming_Identity_HeaderPlusPlus +#define TemplateMetaprogramming_Identity_HeaderPlusPlus + +#include + +template +using identity = std::common_type; + +#endif From adfa06aeef960ce118e93171ef92ebb2ece5fe2b Mon Sep 17 00:00:00 2001 From: "Nicholas \"LB\" Braden" Date: Mon, 18 Nov 2013 23:17:45 -0600 Subject: [PATCH 2/4] Create LICENSE --- tmp-identity/LICENSE | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tmp-identity/LICENSE diff --git a/tmp-identity/LICENSE b/tmp-identity/LICENSE new file mode 100644 index 0000000..68a49da --- /dev/null +++ b/tmp-identity/LICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to From dd67a2a9dab791ce4762e505722a2986b12cedf7 Mon Sep 17 00:00:00 2001 From: "Nicholas \"LB\" Braden" Date: Mon, 18 Nov 2013 23:23:25 -0600 Subject: [PATCH 3/4] Create README.md --- tmp-identity/README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tmp-identity/README.md diff --git a/tmp-identity/README.md b/tmp-identity/README.md new file mode 100644 index 0000000..dd67d68 --- /dev/null +++ b/tmp-identity/README.md @@ -0,0 +1,5 @@ +Usage examples: +http://stackoverflow.com/a/16377818/1959975 +http://ideone.com/uNCPt5 + +See wiki for documentation. From fa7ed305207a4ee54a795299122b451c927538ea Mon Sep 17 00:00:00 2001 From: "Nicholas \"LB\" Braden" Date: Mon, 18 Nov 2013 23:29:51 -0600 Subject: [PATCH 4/4] Fix formatting --- tmp-identity/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmp-identity/README.md b/tmp-identity/README.md index dd67d68..2d12d67 100644 --- a/tmp-identity/README.md +++ b/tmp-identity/README.md @@ -1,5 +1,5 @@ Usage examples: -http://stackoverflow.com/a/16377818/1959975 -http://ideone.com/uNCPt5 +* http://stackoverflow.com/a/16377818/1959975 +* http://ideone.com/uNCPt5 See wiki for documentation.