diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-06-14 15:53:28 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-06-14 15:53:55 (GMT) |
commit | 3b6c5efc086836d5006a184052f642004695b445 (patch) | |
tree | e7b4cbb227f75139b1d741e65765ac532000e7bd | |
parent | 09028bed4c8fe0fde6172bb2ca7783eea27ea89f (diff) | |
download | CMake-3b6c5efc086836d5006a184052f642004695b445.zip CMake-3b6c5efc086836d5006a184052f642004695b445.tar.gz CMake-3b6c5efc086836d5006a184052f642004695b445.tar.bz2 |
cm::append: Add support for std::basic_string on SPARC/SunPro
-rw-r--r-- | Utilities/std/cmext/algorithm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Utilities/std/cmext/algorithm b/Utilities/std/cmext/algorithm index 11514fc..46377f4 100644 --- a/Utilities/std/cmext/algorithm +++ b/Utilities/std/cmext/algorithm @@ -16,6 +16,7 @@ #if defined(__SUNPRO_CC) && defined(__sparc) # include <list> +# include <string> # include <vector> #endif @@ -67,11 +68,15 @@ namespace cm { APPEND_TWO(C1, C2) \ APPEND_TWO(C2, C1) -// For now, manage only support for std::vector and std::list. -// Other sequential container support can be added if needed. +// For now, manage only support for std::vector, std::list, and +// std::basic_string. Other sequential container support can be added if +// needed. APPEND(std::vector) APPEND(std::list) +APPEND(std::basic_string) APPEND_MIX(std::vector, std::list) +APPEND_MIX(std::vector, std::basic_string) +APPEND_MIX(std::list, std::basic_string) # undef APPEND # undef APPEND_MIX |