|
Last change
on this file since e49d0ac was b57ba05, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago |
|
Update headers in C++ files
|
-
Property mode
set to
100644
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * SPDX-FileCopyrightText: 2018 Jaroslav Jindrak
|
|---|
| 3 | *
|
|---|
| 4 | * SPDX-License-Identifier: BSD-3-Clause
|
|---|
| 5 | */
|
|---|
| 6 |
|
|---|
| 7 | #include <locale>
|
|---|
| 8 |
|
|---|
| 9 | namespace std
|
|---|
| 10 | {
|
|---|
| 11 | locale::facet::facet(size_t refs)
|
|---|
| 12 | {
|
|---|
| 13 | // TODO: implement
|
|---|
| 14 | }
|
|---|
| 15 |
|
|---|
| 16 | locale::facet::~facet()
|
|---|
| 17 | {
|
|---|
| 18 | // TODO: implement
|
|---|
| 19 | }
|
|---|
| 20 |
|
|---|
| 21 | locale::locale() noexcept
|
|---|
| 22 | : name_{}
|
|---|
| 23 | { /* DUMMY BODY */ }
|
|---|
| 24 |
|
|---|
| 25 | locale::locale(const locale& other) noexcept
|
|---|
| 26 | : name_{other.name_}
|
|---|
| 27 | { /* DUMMY BODY */ }
|
|---|
| 28 |
|
|---|
| 29 | locale::locale(const char* name)
|
|---|
| 30 | : name_{name}
|
|---|
| 31 | { /* DUMMY BODY */ }
|
|---|
| 32 |
|
|---|
| 33 | locale::locale(const string& name)
|
|---|
| 34 | : name_{name}
|
|---|
| 35 | { /* DUMMY BODY */ }
|
|---|
| 36 |
|
|---|
| 37 | locale::locale(const locale& other, const char* name, category cat)
|
|---|
| 38 | : name_{name}
|
|---|
| 39 | { /* DUMMY BODY */ }
|
|---|
| 40 |
|
|---|
| 41 | locale::locale(const locale& other, const string& name, category cat)
|
|---|
| 42 | : name_{name}
|
|---|
| 43 | { /* DUMMY BODY */ }
|
|---|
| 44 |
|
|---|
| 45 | locale::locale(const locale& other, const locale& one, category cat)
|
|---|
| 46 | : name_{other.name_}
|
|---|
| 47 | { /* DUMMY BODY */ }
|
|---|
| 48 |
|
|---|
| 49 | const locale& locale::operator=(const locale& other) noexcept
|
|---|
| 50 | {
|
|---|
| 51 | name_ = other.name_;
|
|---|
| 52 |
|
|---|
| 53 | return *this;
|
|---|
| 54 | }
|
|---|
| 55 |
|
|---|
| 56 | string locale::name() const
|
|---|
| 57 | {
|
|---|
| 58 | return name_;
|
|---|
| 59 | }
|
|---|
| 60 |
|
|---|
| 61 | bool locale::operator==(const locale& other) const
|
|---|
| 62 | {
|
|---|
| 63 | return (this == &other) || (name_ == other.name_);
|
|---|
| 64 | }
|
|---|
| 65 |
|
|---|
| 66 | bool locale::operator!=(const locale& other) const
|
|---|
| 67 | {
|
|---|
| 68 | return !(*this == other);
|
|---|
| 69 | }
|
|---|
| 70 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.