Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
jlib
Commits
3c934946
Commit
3c934946
authored
Aug 25, 2020
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix std_util
parent
d5dff368
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
419 additions
and
5 deletions
+419
-5
std_util.h
jlib/util/std_util.h
+4
-4
test.sln
test/test.sln
+203
-0
test_stdutil.cpp
test/test_stdutil/test_stdutil.cpp
+1
-1
test_stdutil.vcxproj
test/test_stdutil/test_stdutil.vcxproj
+1
-0
std_util.h
test/test_stdutil_linux/std_util.h
+66
-0
test_stdutil.cpp
test/test_stdutil_linux/test_stdutil.cpp
+37
-0
test_stdutil_linux.vcxproj
test/test_stdutil_linux/test_stdutil_linux.vcxproj
+98
-0
test_stdutil_linux.vcxproj.user
test/test_stdutil_linux/test_stdutil_linux.vcxproj.user
+9
-0
No files found.
jlib/util/std_util.h
View file @
3c934946
...
...
@@ -12,7 +12,7 @@ namespace jlib {
* @note C must be a container of type T
*/
template
<
class
Container
,
class
ElementType
>
bool
is_contain
(
const
typename
Container
&
c
,
const
typename
ElementType
&
t
)
{
inline
bool
is_contain
(
const
Container
&
c
,
const
ElementType
&
t
)
{
for
(
const
auto
&
i
:
c
)
{
if
(
i
==
t
)
{
return
true
;
}
}
...
...
@@ -24,7 +24,7 @@ bool is_contain(const typename Container& c, const typename ElementType& t) {
* @note All 和 Sub 必须为同样类型的容器(不支持initializer-list)
*/
template
<
class
Container
>
typename
Container
get_other
(
const
typename
Container
&
All
,
const
typename
Container
&
Sub
)
{
Container
get_other
(
const
Container
&
All
,
const
Container
&
Sub
)
{
Container
res
,
tmp
;
std
::
copy
(
Sub
.
begin
(),
Sub
.
end
(),
std
::
back_inserter
(
tmp
));
for
(
const
auto
&
i
:
All
)
{
...
...
@@ -47,7 +47,7 @@ typename Container get_other(const typename Container& All, const typename Conta
* @brief t 是 v 的子集,返回 v 内 t 的补集
*/
template
<
class
V
>
std
::
vector
<
std
::
wstring
>
get_other
(
const
typename
V
&
v
,
const
std
::
wstring
&
t
)
{
std
::
vector
<
std
::
wstring
>
get_other
(
const
V
&
v
,
const
std
::
wstring
&
t
)
{
std
::
vector
<
std
::
wstring
>
ret
=
{};
for
(
const
auto
&
i
:
v
)
{
if
(
i
!=
t
)
{
ret
.
push_back
(
i
);
}
}
return
ret
;
...
...
@@ -57,7 +57,7 @@ std::vector<std::wstring> get_other(const typename V& v, const std::wstring& t)
* @brief t 是 v 的子集,返回 v 内 t 的补集
*/
template
<
class
V
>
std
::
vector
<
std
::
string
>
get_other
(
const
typename
V
&
v
,
const
std
::
string
&
t
)
{
std
::
vector
<
std
::
string
>
get_other
(
const
V
&
v
,
const
std
::
string
&
t
)
{
std
::
vector
<
std
::
string
>
ret
=
{};
for
(
const
auto
&
i
:
v
)
{
if
(
i
!=
t
)
{
ret
.
push_back
(
i
);
}
}
return
ret
;
...
...
test/test.sln
View file @
3c934946
...
...
@@ -305,342 +305,544 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_process_qt", "test_pro
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_unicode", "test_unicode\test_unicode.vcxproj", "{897084E2-D24A-4350-95E6-5A0C204192A1}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_stdutil_linux", "test_stdutil_linux\test_stdutil_linux.vcxproj", "{C5D81D57-C53B-4571-9A42-9620C5BE7919}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM = Debug|ARM
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|ARM = Release|ARM
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Debug|ARM.ActiveCfg = Debug|Win32
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Debug|ARM64.ActiveCfg = Debug|Win32
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Debug|x64.ActiveCfg = Debug|x64
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Debug|x64.Build.0 = Debug|x64
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Debug|x86.ActiveCfg = Debug|Win32
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Debug|x86.Build.0 = Debug|Win32
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Release|ARM.ActiveCfg = Release|Win32
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Release|ARM64.ActiveCfg = Release|Win32
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Release|x64.ActiveCfg = Release|x64
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Release|x64.Build.0 = Release|x64
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Release|x86.ActiveCfg = Release|Win32
{155F525A-FA2F-471F-A2DF-9B77E7CCCFA5}.Release|x86.Build.0 = Release|Win32
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Debug|ARM.ActiveCfg = Debug|Win32
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Debug|ARM64.ActiveCfg = Debug|Win32
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Debug|x64.ActiveCfg = Debug|x64
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Debug|x64.Build.0 = Debug|x64
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Debug|x86.ActiveCfg = Debug|Win32
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Debug|x86.Build.0 = Debug|Win32
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Release|ARM.ActiveCfg = Release|Win32
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Release|ARM64.ActiveCfg = Release|Win32
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Release|x64.ActiveCfg = Release|x64
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Release|x64.Build.0 = Release|x64
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Release|x86.ActiveCfg = Release|Win32
{8A39D7AF-50AF-43BD-8CC6-DA20B6349F03}.Release|x86.Build.0 = Release|Win32
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Debug|ARM.ActiveCfg = Debug|Win32
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Debug|ARM64.ActiveCfg = Debug|Win32
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Debug|x64.ActiveCfg = Debug|x64
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Debug|x64.Build.0 = Debug|x64
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Debug|x86.ActiveCfg = Debug|Win32
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Debug|x86.Build.0 = Debug|Win32
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Release|ARM.ActiveCfg = Release|Win32
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Release|ARM64.ActiveCfg = Release|Win32
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Release|x64.ActiveCfg = Release|x64
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Release|x64.Build.0 = Release|x64
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Release|x86.ActiveCfg = Release|Win32
{372670F2-83A5-4058-B93C-BB0DCC1521ED}.Release|x86.Build.0 = Release|Win32
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Debug|ARM.ActiveCfg = Debug|Win32
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Debug|ARM64.ActiveCfg = Debug|Win32
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Debug|x64.ActiveCfg = Debug|x64
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Debug|x64.Build.0 = Debug|x64
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Debug|x86.ActiveCfg = Debug|Win32
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Debug|x86.Build.0 = Debug|Win32
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Release|ARM.ActiveCfg = Release|Win32
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Release|ARM64.ActiveCfg = Release|Win32
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Release|x64.ActiveCfg = Release|x64
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Release|x64.Build.0 = Release|x64
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Release|x86.ActiveCfg = Release|Win32
{B4B8F20B-1B3E-42CD-8B37-A734EF3CA279}.Release|x86.Build.0 = Release|Win32
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Debug|ARM.ActiveCfg = Debug|Win32
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Debug|ARM64.ActiveCfg = Debug|Win32
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Debug|x64.ActiveCfg = Debug|x64
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Debug|x64.Build.0 = Debug|x64
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Debug|x86.ActiveCfg = Debug|Win32
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Debug|x86.Build.0 = Debug|Win32
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Release|ARM.ActiveCfg = Release|Win32
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Release|ARM64.ActiveCfg = Release|Win32
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Release|x64.ActiveCfg = Release|x64
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Release|x64.Build.0 = Release|x64
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Release|x86.ActiveCfg = Release|Win32
{3E322E9F-E560-4300-AFF8-1DCE44E7DDA2}.Release|x86.Build.0 = Release|Win32
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Debug|ARM.ActiveCfg = Debug|Win32
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Debug|ARM64.ActiveCfg = Debug|Win32
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Debug|x64.ActiveCfg = Debug|x64
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Debug|x64.Build.0 = Debug|x64
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Debug|x86.ActiveCfg = Debug|Win32
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Debug|x86.Build.0 = Debug|Win32
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Release|ARM.ActiveCfg = Release|Win32
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Release|ARM64.ActiveCfg = Release|Win32
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Release|x64.ActiveCfg = Release|x64
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Release|x64.Build.0 = Release|x64
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Release|x86.ActiveCfg = Release|Win32
{8A9333D5-2981-4E92-87BF-AFFC5F99B1A4}.Release|x86.Build.0 = Release|Win32
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Debug|ARM.ActiveCfg = Debug|Win32
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Debug|ARM64.ActiveCfg = Debug|Win32
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Debug|x64.ActiveCfg = Debug|x64
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Debug|x64.Build.0 = Debug|x64
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Debug|x86.ActiveCfg = Debug|Win32
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Debug|x86.Build.0 = Debug|Win32
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Release|ARM.ActiveCfg = Release|Win32
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Release|ARM64.ActiveCfg = Release|Win32
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Release|x64.ActiveCfg = Release|x64
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Release|x64.Build.0 = Release|x64
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Release|x86.ActiveCfg = Release|Win32
{519E5179-6E95-44EF-A63B-65C9C9C47A3B}.Release|x86.Build.0 = Release|Win32
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Debug|ARM.ActiveCfg = Debug|Win32
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Debug|ARM64.ActiveCfg = Debug|Win32
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Debug|x64.ActiveCfg = Debug|x64
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Debug|x64.Build.0 = Debug|x64
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Debug|x86.ActiveCfg = Debug|Win32
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Debug|x86.Build.0 = Debug|Win32
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Release|ARM.ActiveCfg = Release|Win32
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Release|ARM64.ActiveCfg = Release|Win32
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Release|x64.ActiveCfg = Release|x64
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Release|x64.Build.0 = Release|x64
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Release|x86.ActiveCfg = Release|Win32
{175611D7-9C38-4269-B0B4-66DE9555A8EB}.Release|x86.Build.0 = Release|Win32
{904EC99B-A012-4134-AE6F-E21635FB602F}.Debug|ARM.ActiveCfg = Debug|Win32
{904EC99B-A012-4134-AE6F-E21635FB602F}.Debug|ARM64.ActiveCfg = Debug|Win32
{904EC99B-A012-4134-AE6F-E21635FB602F}.Debug|x64.ActiveCfg = Debug|x64
{904EC99B-A012-4134-AE6F-E21635FB602F}.Debug|x64.Build.0 = Debug|x64
{904EC99B-A012-4134-AE6F-E21635FB602F}.Debug|x86.ActiveCfg = Debug|Win32
{904EC99B-A012-4134-AE6F-E21635FB602F}.Debug|x86.Build.0 = Debug|Win32
{904EC99B-A012-4134-AE6F-E21635FB602F}.Release|ARM.ActiveCfg = Release|Win32
{904EC99B-A012-4134-AE6F-E21635FB602F}.Release|ARM64.ActiveCfg = Release|Win32
{904EC99B-A012-4134-AE6F-E21635FB602F}.Release|x64.ActiveCfg = Release|x64
{904EC99B-A012-4134-AE6F-E21635FB602F}.Release|x64.Build.0 = Release|x64
{904EC99B-A012-4134-AE6F-E21635FB602F}.Release|x86.ActiveCfg = Release|Win32
{904EC99B-A012-4134-AE6F-E21635FB602F}.Release|x86.Build.0 = Release|Win32
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Debug|ARM.ActiveCfg = Debug|Win32
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Debug|ARM64.ActiveCfg = Debug|Win32
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Debug|x64.ActiveCfg = Debug|x64
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Debug|x64.Build.0 = Debug|x64
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Debug|x86.ActiveCfg = Debug|Win32
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Debug|x86.Build.0 = Debug|Win32
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Release|ARM.ActiveCfg = Release|Win32
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Release|ARM64.ActiveCfg = Release|Win32
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Release|x64.ActiveCfg = Release|x64
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Release|x64.Build.0 = Release|x64
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Release|x86.ActiveCfg = Release|Win32
{79A2C0A6-B8BB-406F-A732-C6300A611EC8}.Release|x86.Build.0 = Release|Win32
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Debug|ARM.ActiveCfg = Debug|Win32
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Debug|ARM64.ActiveCfg = Debug|Win32
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Debug|x64.ActiveCfg = Debug|x64
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Debug|x64.Build.0 = Debug|x64
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Debug|x86.ActiveCfg = Debug|Win32
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Debug|x86.Build.0 = Debug|Win32
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Release|ARM.ActiveCfg = Release|Win32
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Release|ARM64.ActiveCfg = Release|Win32
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Release|x64.ActiveCfg = Release|x64
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Release|x64.Build.0 = Release|x64
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Release|x86.ActiveCfg = Release|Win32
{CA7812A3-9E48-4A94-B39A-32EED587E38A}.Release|x86.Build.0 = Release|Win32
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Debug|ARM.ActiveCfg = Debug|Win32
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Debug|ARM64.ActiveCfg = Debug|Win32
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Debug|x64.ActiveCfg = Debug|x64
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Debug|x64.Build.0 = Debug|x64
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Debug|x86.ActiveCfg = Debug|Win32
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Debug|x86.Build.0 = Debug|Win32
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Release|ARM.ActiveCfg = Release|Win32
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Release|ARM64.ActiveCfg = Release|Win32
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Release|x64.ActiveCfg = Release|x64
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Release|x64.Build.0 = Release|x64
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Release|x86.ActiveCfg = Release|Win32
{4AB0552E-F2D7-4FF0-B019-90D83847A25C}.Release|x86.Build.0 = Release|Win32
{42F7EE20-C9AC-49CE-9D92-479576295810}.Debug|ARM.ActiveCfg = Debug|Win32
{42F7EE20-C9AC-49CE-9D92-479576295810}.Debug|ARM64.ActiveCfg = Debug|Win32
{42F7EE20-C9AC-49CE-9D92-479576295810}.Debug|x64.ActiveCfg = Debug|x64
{42F7EE20-C9AC-49CE-9D92-479576295810}.Debug|x64.Build.0 = Debug|x64
{42F7EE20-C9AC-49CE-9D92-479576295810}.Debug|x86.ActiveCfg = Debug|Win32
{42F7EE20-C9AC-49CE-9D92-479576295810}.Debug|x86.Build.0 = Debug|Win32
{42F7EE20-C9AC-49CE-9D92-479576295810}.Release|ARM.ActiveCfg = Release|Win32
{42F7EE20-C9AC-49CE-9D92-479576295810}.Release|ARM64.ActiveCfg = Release|Win32
{42F7EE20-C9AC-49CE-9D92-479576295810}.Release|x64.ActiveCfg = Release|x64
{42F7EE20-C9AC-49CE-9D92-479576295810}.Release|x64.Build.0 = Release|x64
{42F7EE20-C9AC-49CE-9D92-479576295810}.Release|x86.ActiveCfg = Release|Win32
{42F7EE20-C9AC-49CE-9D92-479576295810}.Release|x86.Build.0 = Release|Win32
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Debug|ARM.ActiveCfg = Debug|Win32
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Debug|ARM64.ActiveCfg = Debug|Win32
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Debug|x64.ActiveCfg = Debug|x64
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Debug|x64.Build.0 = Debug|x64
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Debug|x86.ActiveCfg = Debug|Win32
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Debug|x86.Build.0 = Debug|Win32
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Release|ARM.ActiveCfg = Release|Win32
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Release|ARM64.ActiveCfg = Release|Win32
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Release|x64.ActiveCfg = Release|x64
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Release|x64.Build.0 = Release|x64
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Release|x86.ActiveCfg = Release|Win32
{82EF7CB9-D551-43FC-A2A5-485C37C7895B}.Release|x86.Build.0 = Release|Win32
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Debug|ARM.ActiveCfg = Debug|Win32
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Debug|ARM64.ActiveCfg = Debug|Win32
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Debug|x64.ActiveCfg = Debug|x64
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Debug|x64.Build.0 = Debug|x64
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Debug|x86.ActiveCfg = Debug|Win32
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Debug|x86.Build.0 = Debug|Win32
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Release|ARM.ActiveCfg = Release|Win32
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Release|ARM64.ActiveCfg = Release|Win32
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Release|x64.ActiveCfg = Release|x64
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Release|x64.Build.0 = Release|x64
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Release|x86.ActiveCfg = Release|Win32
{65C310A4-DAA5-4D94-91B3-848F4E5F5C17}.Release|x86.Build.0 = Release|Win32
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Debug|ARM.ActiveCfg = Debug|Win32
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Debug|ARM64.ActiveCfg = Debug|Win32
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Debug|x64.ActiveCfg = Debug|x64
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Debug|x64.Build.0 = Debug|x64
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Debug|x86.ActiveCfg = Debug|Win32
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Debug|x86.Build.0 = Debug|Win32
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Release|ARM.ActiveCfg = Release|Win32
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Release|ARM64.ActiveCfg = Release|Win32
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Release|x64.ActiveCfg = Release|x64
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Release|x64.Build.0 = Release|x64
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Release|x86.ActiveCfg = Release|Win32
{704FF7EB-D633-4D0A-957B-01D908478D6D}.Release|x86.Build.0 = Release|Win32
{EAAE08F7-6CD8-4708-9FD4-ADD856CC6658}.Debug|ARM.ActiveCfg = Debug|Win32
{EAAE08F7-6CD8-4708-9FD4-ADD856CC6658}.Debug|ARM64.ActiveCfg = Debug|Win32
{EAAE08F7-6CD8-4708-9FD4-ADD856CC6658}.Debug|x64.ActiveCfg = Debug|Win32
{EAAE08F7-6CD8-4708-9FD4-ADD856CC6658}.Debug|x86.ActiveCfg = Debug|Win32
{EAAE08F7-6CD8-4708-9FD4-ADD856CC6658}.Debug|x86.Build.0 = Debug|Win32
{EAAE08F7-6CD8-4708-9FD4-ADD856CC6658}.Release|ARM.ActiveCfg = Release|Win32
{EAAE08F7-6CD8-4708-9FD4-ADD856CC6658}.Release|ARM64.ActiveCfg = Release|Win32
{EAAE08F7-6CD8-4708-9FD4-ADD856CC6658}.Release|x64.ActiveCfg = Release|Win32
{EAAE08F7-6CD8-4708-9FD4-ADD856CC6658}.Release|x86.ActiveCfg = Release|Win32
{EAAE08F7-6CD8-4708-9FD4-ADD856CC6658}.Release|x86.Build.0 = Release|Win32
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Debug|ARM.ActiveCfg = Debug|Win32
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Debug|ARM64.ActiveCfg = Debug|Win32
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Debug|x64.ActiveCfg = Debug|x64
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Debug|x64.Build.0 = Debug|x64
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Debug|x86.ActiveCfg = Debug|Win32
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Debug|x86.Build.0 = Debug|Win32
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Release|ARM.ActiveCfg = Release|Win32
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Release|ARM64.ActiveCfg = Release|Win32
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Release|x64.ActiveCfg = Release|x64
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Release|x64.Build.0 = Release|x64
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Release|x86.ActiveCfg = Release|Win32
{26D2B628-713F-419A-B2E2-32BDFA803E3C}.Release|x86.Build.0 = Release|Win32
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Debug|ARM.ActiveCfg = Debug|Win32
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Debug|ARM64.ActiveCfg = Debug|Win32
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Debug|x64.ActiveCfg = Debug|x64
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Debug|x64.Build.0 = Debug|x64
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Debug|x86.ActiveCfg = Debug|Win32
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Debug|x86.Build.0 = Debug|Win32
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Release|ARM.ActiveCfg = Release|Win32
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Release|ARM64.ActiveCfg = Release|Win32
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Release|x64.ActiveCfg = Release|x64
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Release|x64.Build.0 = Release|x64
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Release|x86.ActiveCfg = Release|Win32
{2252B5D4-2D13-4F02-8008-AB2E0D38A154}.Release|x86.Build.0 = Release|Win32
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Debug|ARM.ActiveCfg = Debug|Win32
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Debug|ARM64.ActiveCfg = Debug|Win32
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Debug|x64.ActiveCfg = Debug|x64
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Debug|x64.Build.0 = Debug|x64
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Debug|x86.ActiveCfg = Debug|Win32
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Debug|x86.Build.0 = Debug|Win32
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Release|ARM.ActiveCfg = Release|Win32
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Release|ARM64.ActiveCfg = Release|Win32
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Release|x64.ActiveCfg = Release|x64
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Release|x64.Build.0 = Release|x64
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Release|x86.ActiveCfg = Release|Win32
{7DC0D84B-7F96-4BB9-9B8A-D86B7B031E61}.Release|x86.Build.0 = Release|Win32
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Debug|ARM.ActiveCfg = Debug|Win32
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Debug|ARM64.ActiveCfg = Debug|Win32
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Debug|x64.ActiveCfg = Debug|x64
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Debug|x64.Build.0 = Debug|x64
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Debug|x86.ActiveCfg = Debug|Win32
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Debug|x86.Build.0 = Debug|Win32
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Release|ARM.ActiveCfg = Release|Win32
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Release|ARM64.ActiveCfg = Release|Win32
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Release|x64.ActiveCfg = Release|x64
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Release|x64.Build.0 = Release|x64
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Release|x86.ActiveCfg = Release|Win32
{58DA7AE8-9975-4F28-A1BF-44A7C01B6F7F}.Release|x86.Build.0 = Release|Win32
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Debug|ARM.ActiveCfg = Debug|Win32
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Debug|ARM64.ActiveCfg = Debug|Win32
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Debug|x64.ActiveCfg = Debug|x64
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Debug|x64.Build.0 = Debug|x64
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Debug|x86.ActiveCfg = Debug|Win32
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Debug|x86.Build.0 = Debug|Win32
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Release|ARM.ActiveCfg = Release|Win32
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Release|ARM64.ActiveCfg = Release|Win32
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Release|x64.ActiveCfg = Release|x64
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Release|x64.Build.0 = Release|x64
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Release|x86.ActiveCfg = Release|Win32
{B8F4AB37-A049-443B-8B75-4D0C831B234B}.Release|x86.Build.0 = Release|Win32
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Debug|ARM.ActiveCfg = Debug|Win32
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Debug|ARM64.ActiveCfg = Debug|Win32
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Debug|x64.ActiveCfg = Debug|x64
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Debug|x64.Build.0 = Debug|x64
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Debug|x86.ActiveCfg = Debug|Win32
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Debug|x86.Build.0 = Debug|Win32
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Release|ARM.ActiveCfg = Release|Win32
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Release|ARM64.ActiveCfg = Release|Win32
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Release|x64.ActiveCfg = Release|x64
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Release|x64.Build.0 = Release|x64
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Release|x86.ActiveCfg = Release|Win32
{F1EFC4C7-AF79-4A65-9FE1-7C5305DC2E6A}.Release|x86.Build.0 = Release|Win32
{96714588-A974-49B5-95BE-BF843FBFD260}.Debug|ARM.ActiveCfg = Debug|Win32
{96714588-A974-49B5-95BE-BF843FBFD260}.Debug|ARM64.ActiveCfg = Debug|Win32
{96714588-A974-49B5-95BE-BF843FBFD260}.Debug|x64.ActiveCfg = Debug|x64
{96714588-A974-49B5-95BE-BF843FBFD260}.Debug|x64.Build.0 = Debug|x64
{96714588-A974-49B5-95BE-BF843FBFD260}.Debug|x86.ActiveCfg = Debug|Win32
{96714588-A974-49B5-95BE-BF843FBFD260}.Debug|x86.Build.0 = Debug|Win32
{96714588-A974-49B5-95BE-BF843FBFD260}.Release|ARM.ActiveCfg = Release|Win32
{96714588-A974-49B5-95BE-BF843FBFD260}.Release|ARM64.ActiveCfg = Release|Win32
{96714588-A974-49B5-95BE-BF843FBFD260}.Release|x64.ActiveCfg = Release|x64
{96714588-A974-49B5-95BE-BF843FBFD260}.Release|x64.Build.0 = Release|x64
{96714588-A974-49B5-95BE-BF843FBFD260}.Release|x86.ActiveCfg = Release|Win32
{96714588-A974-49B5-95BE-BF843FBFD260}.Release|x86.Build.0 = Release|Win32
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Debug|ARM.ActiveCfg = Debug|Win32
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Debug|ARM64.ActiveCfg = Debug|Win32
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Debug|x64.ActiveCfg = Debug|x64
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Debug|x64.Build.0 = Debug|x64
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Debug|x86.ActiveCfg = Debug|Win32
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Debug|x86.Build.0 = Debug|Win32
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Release|ARM.ActiveCfg = Release|Win32
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Release|ARM64.ActiveCfg = Release|Win32
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Release|x64.ActiveCfg = Release|x64
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Release|x64.Build.0 = Release|x64
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Release|x86.ActiveCfg = Release|Win32
{2457D30D-2DE9-4DF2-9047-CFA652E4F6CB}.Release|x86.Build.0 = Release|Win32
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Debug|ARM.ActiveCfg = Debug|Win32
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Debug|ARM64.ActiveCfg = Debug|Win32
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Debug|x64.ActiveCfg = Debug|x64
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Debug|x64.Build.0 = Debug|x64
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Debug|x86.ActiveCfg = Debug|Win32
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Debug|x86.Build.0 = Debug|Win32
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Release|ARM.ActiveCfg = Release|Win32
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Release|ARM64.ActiveCfg = Release|Win32
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Release|x64.ActiveCfg = Release|x64
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Release|x64.Build.0 = Release|x64
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Release|x86.ActiveCfg = Release|Win32
{0CCBAB78-35DD-46FF-B369-AE4920BEA43A}.Release|x86.Build.0 = Release|Win32
{B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|ARM.ActiveCfg = Debug|Win32
{B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|ARM64.ActiveCfg = Debug|Win32
{B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x64.ActiveCfg = Debug|Win32
{B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x86.ActiveCfg = Debug|Win32
{B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x86.Build.0 = Debug|Win32
{B12702AD-ABFB-343A-A199-8E24837244A3}.Release|ARM.ActiveCfg = Release|Win32
{B12702AD-ABFB-343A-A199-8E24837244A3}.Release|ARM64.ActiveCfg = Release|Win32
{B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x64.ActiveCfg = Release|Win32
{B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x86.ActiveCfg = Release|Win32
{B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x86.Build.0 = Release|Win32
{C1066CE5-C22E-3BC0-A99A-9E37E3DB9724}.Debug|ARM.ActiveCfg = Debug|Win32
{C1066CE5-C22E-3BC0-A99A-9E37E3DB9724}.Debug|ARM64.ActiveCfg = Debug|Win32
{C1066CE5-C22E-3BC0-A99A-9E37E3DB9724}.Debug|x64.ActiveCfg = Debug|Win32
{C1066CE5-C22E-3BC0-A99A-9E37E3DB9724}.Debug|x86.ActiveCfg = Debug|Win32
{C1066CE5-C22E-3BC0-A99A-9E37E3DB9724}.Debug|x86.Build.0 = Debug|Win32
{C1066CE5-C22E-3BC0-A99A-9E37E3DB9724}.Release|ARM.ActiveCfg = Release|Win32
{C1066CE5-C22E-3BC0-A99A-9E37E3DB9724}.Release|ARM64.ActiveCfg = Release|Win32
{C1066CE5-C22E-3BC0-A99A-9E37E3DB9724}.Release|x64.ActiveCfg = Release|Win32
{C1066CE5-C22E-3BC0-A99A-9E37E3DB9724}.Release|x86.ActiveCfg = Release|Win32
{C1066CE5-C22E-3BC0-A99A-9E37E3DB9724}.Release|x86.Build.0 = Release|Win32
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Debug|ARM.ActiveCfg = Debug|Win32
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Debug|ARM64.ActiveCfg = Debug|Win32
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Debug|x64.ActiveCfg = Debug|x64
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Debug|x64.Build.0 = Debug|x64
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Debug|x86.ActiveCfg = Debug|Win32
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Debug|x86.Build.0 = Debug|Win32
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Release|ARM.ActiveCfg = Release|Win32
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Release|ARM64.ActiveCfg = Release|Win32
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Release|x64.ActiveCfg = Release|x64
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Release|x64.Build.0 = Release|x64
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Release|x86.ActiveCfg = Release|Win32
{5BAC792A-2FC6-4E53-8C0B-3267778F8981}.Release|x86.Build.0 = Release|Win32
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Debug|ARM.ActiveCfg = Debug|Win32
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Debug|ARM64.ActiveCfg = Debug|Win32
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Debug|x64.ActiveCfg = Debug|x64
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Debug|x64.Build.0 = Debug|x64
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Debug|x86.ActiveCfg = Debug|Win32
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Debug|x86.Build.0 = Debug|Win32
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Release|ARM.ActiveCfg = Release|Win32
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Release|ARM64.ActiveCfg = Release|Win32
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Release|x64.ActiveCfg = Release|x64
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Release|x64.Build.0 = Release|x64
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Release|x86.ActiveCfg = Release|Win32
{2DABB64E-7965-40BA-A81A-8AFACF648AC8}.Release|x86.Build.0 = Release|Win32
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Debug|ARM.ActiveCfg = Debug|Win32
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Debug|ARM64.ActiveCfg = Debug|Win32
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Debug|x64.ActiveCfg = Debug|x64
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Debug|x64.Build.0 = Debug|x64
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Debug|x86.ActiveCfg = Debug|Win32
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Debug|x86.Build.0 = Debug|Win32
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Release|ARM.ActiveCfg = Release|Win32
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Release|ARM64.ActiveCfg = Release|Win32
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Release|x64.ActiveCfg = Release|x64
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Release|x64.Build.0 = Release|x64
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Release|x86.ActiveCfg = Release|Win32
{33173172-E8FB-403B-8D49-28F4E026C3BB}.Release|x86.Build.0 = Release|Win32
{D11505A8-228C-4450-9674-08D993962615}.Debug|ARM.ActiveCfg = Debug|Win32
{D11505A8-228C-4450-9674-08D993962615}.Debug|ARM64.ActiveCfg = Debug|Win32
{D11505A8-228C-4450-9674-08D993962615}.Debug|x64.ActiveCfg = Debug|x64
{D11505A8-228C-4450-9674-08D993962615}.Debug|x64.Build.0 = Debug|x64
{D11505A8-228C-4450-9674-08D993962615}.Debug|x86.ActiveCfg = Debug|Win32
{D11505A8-228C-4450-9674-08D993962615}.Debug|x86.Build.0 = Debug|Win32
{D11505A8-228C-4450-9674-08D993962615}.Release|ARM.ActiveCfg = Release|Win32
{D11505A8-228C-4450-9674-08D993962615}.Release|ARM64.ActiveCfg = Release|Win32
{D11505A8-228C-4450-9674-08D993962615}.Release|x64.ActiveCfg = Release|x64
{D11505A8-228C-4450-9674-08D993962615}.Release|x64.Build.0 = Release|x64
{D11505A8-228C-4450-9674-08D993962615}.Release|x86.ActiveCfg = Release|Win32
{D11505A8-228C-4450-9674-08D993962615}.Release|x86.Build.0 = Release|Win32
{726DE046-6AF9-4138-B3C9-23B77822433A}.Debug|ARM.ActiveCfg = Debug|Win32
{726DE046-6AF9-4138-B3C9-23B77822433A}.Debug|ARM64.ActiveCfg = Debug|Win32
{726DE046-6AF9-4138-B3C9-23B77822433A}.Debug|x64.ActiveCfg = Debug|Win32
{726DE046-6AF9-4138-B3C9-23B77822433A}.Debug|x86.ActiveCfg = Debug|Win32
{726DE046-6AF9-4138-B3C9-23B77822433A}.Debug|x86.Build.0 = Debug|Win32
{726DE046-6AF9-4138-B3C9-23B77822433A}.Release|ARM.ActiveCfg = Release|Win32
{726DE046-6AF9-4138-B3C9-23B77822433A}.Release|ARM64.ActiveCfg = Release|Win32
{726DE046-6AF9-4138-B3C9-23B77822433A}.Release|x64.ActiveCfg = Release|Win32
{726DE046-6AF9-4138-B3C9-23B77822433A}.Release|x86.ActiveCfg = Release|Win32
{726DE046-6AF9-4138-B3C9-23B77822433A}.Release|x86.Build.0 = Release|Win32
{72D8135A-48CF-464E-9B55-8991D2BA35EB}.Debug|ARM.ActiveCfg = Debug|Win32
{72D8135A-48CF-464E-9B55-8991D2BA35EB}.Debug|ARM64.ActiveCfg = Debug|Win32
{72D8135A-48CF-464E-9B55-8991D2BA35EB}.Debug|x64.ActiveCfg = Debug|Win32
{72D8135A-48CF-464E-9B55-8991D2BA35EB}.Debug|x86.ActiveCfg = Debug|Win32
{72D8135A-48CF-464E-9B55-8991D2BA35EB}.Debug|x86.Build.0 = Debug|Win32
{72D8135A-48CF-464E-9B55-8991D2BA35EB}.Release|ARM.ActiveCfg = Release|Win32
{72D8135A-48CF-464E-9B55-8991D2BA35EB}.Release|ARM64.ActiveCfg = Release|Win32
{72D8135A-48CF-464E-9B55-8991D2BA35EB}.Release|x64.ActiveCfg = Release|Win32
{72D8135A-48CF-464E-9B55-8991D2BA35EB}.Release|x86.ActiveCfg = Release|Win32
{72D8135A-48CF-464E-9B55-8991D2BA35EB}.Release|x86.Build.0 = Release|Win32
{281CEC62-CE6E-4FD6-B186-AEF2BA926BF8}.Debug|ARM.ActiveCfg = Debug|Win32
{281CEC62-CE6E-4FD6-B186-AEF2BA926BF8}.Debug|ARM64.ActiveCfg = Debug|Win32
{281CEC62-CE6E-4FD6-B186-AEF2BA926BF8}.Debug|x64.ActiveCfg = Debug|Win32
{281CEC62-CE6E-4FD6-B186-AEF2BA926BF8}.Debug|x86.ActiveCfg = Debug|Win32
{281CEC62-CE6E-4FD6-B186-AEF2BA926BF8}.Debug|x86.Build.0 = Debug|Win32
{281CEC62-CE6E-4FD6-B186-AEF2BA926BF8}.Release|ARM.ActiveCfg = Release|Win32
{281CEC62-CE6E-4FD6-B186-AEF2BA926BF8}.Release|ARM64.ActiveCfg = Release|Win32
{281CEC62-CE6E-4FD6-B186-AEF2BA926BF8}.Release|x64.ActiveCfg = Release|Win32
{281CEC62-CE6E-4FD6-B186-AEF2BA926BF8}.Release|x86.ActiveCfg = Release|Win32
{281CEC62-CE6E-4FD6-B186-AEF2BA926BF8}.Release|x86.Build.0 = Release|Win32
{ECF057F3-AB01-4129-8C5C-E59DD4261770}.Debug|ARM.ActiveCfg = Debug|Win32
{ECF057F3-AB01-4129-8C5C-E59DD4261770}.Debug|ARM64.ActiveCfg = Debug|Win32
{ECF057F3-AB01-4129-8C5C-E59DD4261770}.Debug|x64.ActiveCfg = Debug|Win32
{ECF057F3-AB01-4129-8C5C-E59DD4261770}.Debug|x86.ActiveCfg = Debug|Win32
{ECF057F3-AB01-4129-8C5C-E59DD4261770}.Debug|x86.Build.0 = Debug|Win32
{ECF057F3-AB01-4129-8C5C-E59DD4261770}.Release|ARM.ActiveCfg = Release|Win32
{ECF057F3-AB01-4129-8C5C-E59DD4261770}.Release|ARM64.ActiveCfg = Release|Win32
{ECF057F3-AB01-4129-8C5C-E59DD4261770}.Release|x64.ActiveCfg = Release|Win32
{ECF057F3-AB01-4129-8C5C-E59DD4261770}.Release|x86.ActiveCfg = Release|Win32
{ECF057F3-AB01-4129-8C5C-E59DD4261770}.Release|x86.Build.0 = Release|Win32
{41C26D67-0174-41AC-850E-1F84181138E5}.Debug|ARM.ActiveCfg = Debug|Win32
{41C26D67-0174-41AC-850E-1F84181138E5}.Debug|ARM64.ActiveCfg = Debug|Win32
{41C26D67-0174-41AC-850E-1F84181138E5}.Debug|x64.ActiveCfg = Debug|x64
{41C26D67-0174-41AC-850E-1F84181138E5}.Debug|x64.Build.0 = Debug|x64
{41C26D67-0174-41AC-850E-1F84181138E5}.Debug|x86.ActiveCfg = Debug|Win32
{41C26D67-0174-41AC-850E-1F84181138E5}.Debug|x86.Build.0 = Debug|Win32
{41C26D67-0174-41AC-850E-1F84181138E5}.Release|ARM.ActiveCfg = Release|Win32
{41C26D67-0174-41AC-850E-1F84181138E5}.Release|ARM64.ActiveCfg = Release|Win32
{41C26D67-0174-41AC-850E-1F84181138E5}.Release|x64.ActiveCfg = Release|x64
{41C26D67-0174-41AC-850E-1F84181138E5}.Release|x64.Build.0 = Release|x64
{41C26D67-0174-41AC-850E-1F84181138E5}.Release|x86.ActiveCfg = Release|Win32
{41C26D67-0174-41AC-850E-1F84181138E5}.Release|x86.Build.0 = Release|Win32
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Debug|ARM.ActiveCfg = Debug|Win32
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Debug|ARM64.ActiveCfg = Debug|Win32
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Debug|x64.ActiveCfg = Debug|x64
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Debug|x64.Build.0 = Debug|x64
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Debug|x86.ActiveCfg = Debug|Win32
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Debug|x86.Build.0 = Debug|Win32
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Release|ARM.ActiveCfg = Release|Win32
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Release|ARM64.ActiveCfg = Release|Win32
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Release|x64.ActiveCfg = Release|x64
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Release|x64.Build.0 = Release|x64
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Release|x86.ActiveCfg = Release|Win32
{0C743CE7-E49C-47F8-BC53-13929EA5CDA3}.Release|x86.Build.0 = Release|Win32
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Debug|ARM.ActiveCfg = Debug|Win32
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Debug|ARM64.ActiveCfg = Debug|Win32
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Debug|x64.ActiveCfg = Debug|x64
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Debug|x64.Build.0 = Debug|x64
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Debug|x86.ActiveCfg = Debug|Win32
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Debug|x86.Build.0 = Debug|Win32
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Release|ARM.ActiveCfg = Release|Win32
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Release|ARM64.ActiveCfg = Release|Win32
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Release|x64.ActiveCfg = Release|x64
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Release|x64.Build.0 = Release|x64
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Release|x86.ActiveCfg = Release|Win32
{5EA0AFE3-134D-4573-B8E7-ADEC802722DF}.Release|x86.Build.0 = Release|Win32
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Debug|ARM.ActiveCfg = Debug|Win32
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Debug|ARM64.ActiveCfg = Debug|Win32
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Debug|x64.ActiveCfg = Debug|x64
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Debug|x64.Build.0 = Debug|x64
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Debug|x86.ActiveCfg = Debug|Win32
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Debug|x86.Build.0 = Debug|Win32
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Release|ARM.ActiveCfg = Release|Win32
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Release|ARM64.ActiveCfg = Release|Win32
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Release|x64.ActiveCfg = Release|x64
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Release|x64.Build.0 = Release|x64
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Release|x86.ActiveCfg = Release|Win32
{65F9D4DA-BC6C-486D-8966-6ACCE077639D}.Release|x86.Build.0 = Release|Win32
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Debug|ARM.ActiveCfg = Debug|Win32
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Debug|ARM64.ActiveCfg = Debug|Win32
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Debug|x64.ActiveCfg = Debug|x64
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Debug|x64.Build.0 = Debug|x64
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Debug|x86.ActiveCfg = Debug|Win32
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Debug|x86.Build.0 = Debug|Win32
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Release|ARM.ActiveCfg = Release|Win32
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Release|ARM64.ActiveCfg = Release|Win32
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Release|x64.ActiveCfg = Release|x64
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Release|x64.Build.0 = Release|x64
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Release|x86.ActiveCfg = Release|Win32
{0F324C6A-D08E-4044-B606-E1F65DB4E68B}.Release|x86.Build.0 = Release|Win32
{E287BCBE-0CA5-4E3C-9F44-05F505A5A0AA}.Debug|ARM.ActiveCfg = Debug|Win32
{E287BCBE-0CA5-4E3C-9F44-05F505A5A0AA}.Debug|ARM64.ActiveCfg = Debug|Win32
{E287BCBE-0CA5-4E3C-9F44-05F505A5A0AA}.Debug|x64.ActiveCfg = Debug|Win32
{E287BCBE-0CA5-4E3C-9F44-05F505A5A0AA}.Debug|x86.ActiveCfg = Debug|Win32
{E287BCBE-0CA5-4E3C-9F44-05F505A5A0AA}.Debug|x86.Build.0 = Debug|Win32
{E287BCBE-0CA5-4E3C-9F44-05F505A5A0AA}.Release|ARM.ActiveCfg = Release|Win32
{E287BCBE-0CA5-4E3C-9F44-05F505A5A0AA}.Release|ARM64.ActiveCfg = Release|Win32
{E287BCBE-0CA5-4E3C-9F44-05F505A5A0AA}.Release|x64.ActiveCfg = Release|Win32
{E287BCBE-0CA5-4E3C-9F44-05F505A5A0AA}.Release|x86.ActiveCfg = Release|Win32
{E287BCBE-0CA5-4E3C-9F44-05F505A5A0AA}.Release|x86.Build.0 = Release|Win32
{897084E2-D24A-4350-95E6-5A0C204192A1}.Debug|ARM.ActiveCfg = Debug|Win32
{897084E2-D24A-4350-95E6-5A0C204192A1}.Debug|ARM64.ActiveCfg = Debug|Win32
{897084E2-D24A-4350-95E6-5A0C204192A1}.Debug|x64.ActiveCfg = Debug|x64
{897084E2-D24A-4350-95E6-5A0C204192A1}.Debug|x64.Build.0 = Debug|x64
{897084E2-D24A-4350-95E6-5A0C204192A1}.Debug|x86.ActiveCfg = Debug|Win32
{897084E2-D24A-4350-95E6-5A0C204192A1}.Debug|x86.Build.0 = Debug|Win32
{897084E2-D24A-4350-95E6-5A0C204192A1}.Release|ARM.ActiveCfg = Release|Win32
{897084E2-D24A-4350-95E6-5A0C204192A1}.Release|ARM64.ActiveCfg = Release|Win32
{897084E2-D24A-4350-95E6-5A0C204192A1}.Release|x64.ActiveCfg = Release|x64
{897084E2-D24A-4350-95E6-5A0C204192A1}.Release|x64.Build.0 = Release|x64
{897084E2-D24A-4350-95E6-5A0C204192A1}.Release|x86.ActiveCfg = Release|Win32
{897084E2-D24A-4350-95E6-5A0C204192A1}.Release|x86.Build.0 = Release|Win32
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|ARM.ActiveCfg = Debug|ARM
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|ARM.Build.0 = Debug|ARM
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|ARM.Deploy.0 = Debug|ARM
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|ARM64.ActiveCfg = Debug|ARM64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|ARM64.Build.0 = Debug|ARM64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|ARM64.Deploy.0 = Debug|ARM64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|x64.ActiveCfg = Debug|x64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|x64.Build.0 = Debug|x64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|x64.Deploy.0 = Debug|x64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|x86.ActiveCfg = Debug|x86
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|x86.Build.0 = Debug|x86
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Debug|x86.Deploy.0 = Debug|x86
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|ARM.ActiveCfg = Release|ARM
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|ARM.Build.0 = Release|ARM
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|ARM.Deploy.0 = Release|ARM
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|ARM64.ActiveCfg = Release|ARM64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|ARM64.Build.0 = Release|ARM64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|ARM64.Deploy.0 = Release|ARM64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|x64.ActiveCfg = Release|x64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|x64.Build.0 = Release|x64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|x64.Deploy.0 = Release|x64
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|x86.ActiveCfg = Release|x86
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|x86.Build.0 = Release|x86
{C5D81D57-C53B-4571-9A42-9620C5BE7919}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
...
...
@@ -713,6 +915,7 @@ Global
{0F324C6A-D08E-4044-B606-E1F65DB4E68B} = {0E6598D3-602D-4552-97F7-DC5AB458D553}
{E287BCBE-0CA5-4E3C-9F44-05F505A5A0AA} = {0E6598D3-602D-4552-97F7-DC5AB458D553}
{897084E2-D24A-4350-95E6-5A0C204192A1} = {0E6598D3-602D-4552-97F7-DC5AB458D553}
{C5D81D57-C53B-4571-9A42-9620C5BE7919} = {ABCB8CF8-5E82-4C47-A0FC-E82DF105DF99}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A8EBEA58-739C-4DED-99C0-239779F57D5D}
...
...
test/test_stdutil/test_stdutil.cpp
View file @
3c934946
#include "
../../jlib/util/
std_util.h"
#include "std_util.h"
#include <assert.h>
int
main
()
...
...
test/test_stdutil/test_stdutil.vcxproj
View file @
3c934946
...
...
@@ -76,6 +76,7 @@
<Optimization>
Disabled
</Optimization>
<SDLCheck>
true
</SDLCheck>
<ConformanceMode>
true
</ConformanceMode>
<AdditionalIncludeDirectories>
$(DEVLIBS)\jlib;%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>
Console
</SubSystem>
...
...
test/test_stdutil_linux/std_util.h
0 → 100644
View file @
3c934946
#
pragma
once
#include <vector>
#include <string>
#include <algorithm>
#include <iterator>
namespace
jlib
{
/**
* @brief check if Container contains ElementType t
* @note C must be a container of type T
*/
template
<
class
Container
,
class
ElementType
>
inline
bool
is_contain
(
const
Container
&
c
,
const
ElementType
&
t
)
{
for
(
const
auto
&
i
:
c
)
{
if
(
i
==
t
)
{
return
true
;
}
}
return
false
;
}
/**
* @brief Sub 是 All 的子集,返回 All 内 Sub 的补集
* @note All 和 Sub 必须为同样类型的容器(不支持initializer-list)
*/
template
<
class
Container
>
Container
get_other
(
const
Container
&
All
,
const
Container
&
Sub
)
{
Container
res
,
tmp
;
std
::
copy
(
Sub
.
begin
(),
Sub
.
end
(),
std
::
back_inserter
(
tmp
));
for
(
const
auto
&
i
:
All
)
{
bool
in_Sub
=
false
;
for
(
auto
iter
=
tmp
.
begin
();
iter
!=
tmp
.
end
();
iter
++
)
{
if
(
*
iter
==
i
)
{
tmp
.
erase
(
iter
);
in_Sub
=
true
;
break
;
}
}
if
(
!
in_Sub
)
{
res
.
push_back
(
i
);
}
}
return
res
;
}
/**
* @brief t 是 v 的子集,返回 v 内 t 的补集
*/
template
<
class
V
>
std
::
vector
<
std
::
wstring
>
get_other
(
const
V
&
v
,
const
std
::
wstring
&
t
)
{
std
::
vector
<
std
::
wstring
>
ret
=
{};
for
(
const
auto
&
i
:
v
)
{
if
(
i
!=
t
)
{
ret
.
push_back
(
i
);
}
}
return
ret
;
}
/**
* @brief t 是 v 的子集,返回 v 内 t 的补集
*/
template
<
class
V
>
std
::
vector
<
std
::
string
>
get_other
(
const
V
&
v
,
const
std
::
string
&
t
)
{
std
::
vector
<
std
::
string
>
ret
=
{};
for
(
const
auto
&
i
:
v
)
{
if
(
i
!=
t
)
{
ret
.
push_back
(
i
);
}
}
return
ret
;
}
}
test/test_stdutil_linux/test_stdutil.cpp
0 → 100644
View file @
3c934946
#include "std_util.h"
#include <assert.h>
int
main
()
{
// is_contain
{
std
::
string
s
=
"12345"
;
for
(
auto
c
:
s
)
{
assert
(
jlib
::
is_contain
(
s
,
c
));
}
}
// get_other
{
std
::
vector
<
int
>
All
{
1
,
2
,
3
,
4
,
5
};
std
::
vector
<
int
>
Sub
{
1
,
2
,
3
};
auto
other
=
jlib
::
get_other
(
All
,
Sub
);
assert
(
other
==
std
::
vector
<
int
>
({
4
,
5
}));
}
// get_other
{
std
::
vector
<
std
::
wstring
>
all
{
L"123"
,
L"abc"
,
L"def"
,
L"ghi"
};
std
::
wstring
sub
(
L"123"
);
auto
other
=
jlib
::
get_other
(
all
,
sub
);
assert
(
other
==
std
::
vector
<
std
::
wstring
>
({
L"abc"
,
L"def"
,
L"ghi"
}));
}
// get_other
{
std
::
vector
<
std
::
string
>
all
{
"123"
,
"abc"
,
"def"
,
"ghi"
};
std
::
string
sub
(
"123"
);
auto
other
=
jlib
::
get_other
(
all
,
sub
);
assert
(
other
==
std
::
vector
<
std
::
string
>
({
"abc"
,
"def"
,
"ghi"
}));
}
}
test/test_stdutil_linux/test_stdutil_linux.vcxproj
0 → 100644
View file @
3c934946
<?xml version="1.0" encoding="utf-8"?>
<Project
DefaultTargets=
"Build"
ToolsVersion=
"15.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<ItemGroup
Label=
"ProjectConfigurations"
>
<ProjectConfiguration
Include=
"Debug|ARM"
>
<Configuration>
Debug
</Configuration>
<Platform>
ARM
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Release|ARM"
>
<Configuration>
Release
</Configuration>
<Platform>
ARM
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Debug|ARM64"
>
<Configuration>
Debug
</Configuration>
<Platform>
ARM64
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Release|ARM64"
>
<Configuration>
Release
</Configuration>
<Platform>
ARM64
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Debug|x86"
>
<Configuration>
Debug
</Configuration>
<Platform>
x86
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Release|x86"
>
<Configuration>
Release
</Configuration>
<Platform>
x86
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Debug|x64"
>
<Configuration>
Debug
</Configuration>
<Platform>
x64
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Release|x64"
>
<Configuration>
Release
</Configuration>
<Platform>
x64
</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClInclude
Include=
"std_util.h"
/>
</ItemGroup>
<ItemGroup>
<ClCompile
Include=
"test_stdutil.cpp"
/>
</ItemGroup>
<PropertyGroup
Label=
"Globals"
>
<ProjectGuid>
{c5d81d57-c53b-4571-9a42-9620c5be7919}
</ProjectGuid>
<Keyword>
Linux
</Keyword>
<RootNamespace>
test_stdutil_linux
</RootNamespace>
<MinimumVisualStudioVersion>
15.0
</MinimumVisualStudioVersion>
<ApplicationType>
Linux
</ApplicationType>
<ApplicationTypeRevision>
1.0
</ApplicationTypeRevision>
<TargetLinuxPlatform>
Generic
</TargetLinuxPlatform>
<LinuxProjectType>
{2238F9CD-F817-4ECC-BD14-2524D2669B35}
</LinuxProjectType>
</PropertyGroup>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.Default.props"
/>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|ARM'"
Label=
"Configuration"
>
<UseDebugLibraries>
true
</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|ARM'"
Label=
"Configuration"
>
<UseDebugLibraries>
false
</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x86'"
Label=
"Configuration"
>
<UseDebugLibraries>
true
</UseDebugLibraries>
<RemoteRootDir>
~/vsprojects
</RemoteRootDir>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x86'"
Label=
"Configuration"
>
<UseDebugLibraries>
false
</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
Label=
"Configuration"
>
<UseDebugLibraries>
true
</UseDebugLibraries>
<RemoteRootDir>
~/vsprojects
</RemoteRootDir>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
Label=
"Configuration"
>
<UseDebugLibraries>
false
</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|ARM64'"
Label=
"Configuration"
>
<UseDebugLibraries>
false
</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|ARM64'"
Label=
"Configuration"
>
<UseDebugLibraries>
true
</UseDebugLibraries>
</PropertyGroup>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.props"
/>
<ImportGroup
Label=
"ExtensionSettings"
/>
<ImportGroup
Label=
"Shared"
/>
<ImportGroup
Label=
"PropertySheets"
/>
<PropertyGroup
Label=
"UserMacros"
/>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x86'"
>
<ClCompile>
<AdditionalIncludeDirectories>
/root/jlib;%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<ClCompile>
<AdditionalIncludeDirectories>
%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
<CppLanguageStandard>
c++17
</CppLanguageStandard>
</ClCompile>
</ItemDefinitionGroup>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.targets"
/>
<ImportGroup
Label=
"ExtensionTargets"
/>
</Project>
\ No newline at end of file
test/test_stdutil_linux/test_stdutil_linux.vcxproj.user
0 → 100644
View file @
3c934946
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"Current"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x86'"
>
<RemoteTarget>
-2055866198;192.168.1.166 (username=, port=22, authentication=Password)
</RemoteTarget>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<RemoteTarget>
-2055866198;192.168.1.166 (username=, port=22, authentication=Password)
</RemoteTarget>
</PropertyGroup>
</Project>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment