Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f03d8bb

Browse files
committed
πŸ”¨ 잘λͺ»λœ μ€„λ°”κΏˆ μˆ˜μ •
1 parent 949fb7a commit f03d8bb

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

β€Ži-features-of-visual-studio-editor/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,49 @@ size_t cnt = std::count_if(v.begin(),
3535
});
3636
```
3737
38+
>
3839
> template \<typename StringT = std::wstring_view\>
40+
>
3941
> struct CaseInsensitiveEqual
42+
>
4043
> {
44+
>
4145
> bool operator()(StringT const& lhs, StringT const& rhs) const
46+
>
4247
> {
48+
>
4349
> using namespace std;
50+
>
4451
> return lhs.size() == rhs.size()
52+
>
4553
> && equal(lhs.begin(),
54+
>
4655
> lhs.end(),
56+
>
4757
> rhs.begin(),
58+
>
4859
> \[\](auto l, auto r) {
60+
>
4961
> return tolower(l) == tolower(r);
62+
>
5063
> });
64+
>
5165
> }
66+
>
5267
> };
5368
>
69+
>
70+
>
5471
> size_t cnt = std\:\:count_if(v.begin(),
72+
>
5573
> v.end(),
74+
>
5675
> \[\](auto const& str) {
76+
>
5777
> return CaseInsensitiveEqual\<
78+
>
5879
> decltype(v)\:\:value_type\> {}(str, "hello");
80+
>
5981
> });
6082
6183
λ„ˆλΉ„κ°€ 같은 폰트λ₯Ό μ‚¬μš©ν•˜λ©΄ 각 μ€„μ˜ λ“€μ—¬μ“°κΈ°λ₯Ό 맞좜 수 μžˆλŠ” 것에 λ°˜ν•΄, λ„ˆλΉ„κ°€ μ„œλ‘œ λ‹€λ₯΄λ©΄ λ“€μ—¬μ“°κΈ°μ˜ 간격을 μ‘°μ ˆν•˜κΈ° νž˜λ“€λ‹€λŠ” 것을 μ•Œ 수 μžˆμŠ΅λ‹ˆλ‹€.

0 commit comments

Comments
(0)

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /