[locale.messages.members]

# 28 Text processing library [[text]](./#text)

## 28.3 Localization library [[localization]](localization#locale.messages.members)

### 28.3.4 Standard locale categories [[locale.categories]](locale.categories#locale.messages.members)

#### 28.3.4.8 The message retrieval category [[category.messages]](category.messages#locale.messages.members)

#### 28.3.4.8.2 Class template messages [[locale.messages]](locale.messages#members)

#### 28.3.4.8.2.2 Members [locale.messages.members]

[ð](#lib:messages,open)

`catalog open(const string& name, const locale& loc) const;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L4784)

*Returns*: do_open(name, loc)[.](#1.sentence-1)

[ð](#lib:messages,get)

`string_type get(catalog cat, int set, int msgid, const string_type& dfault) const;
`

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L4795)

*Returns*: do_get(cat, set, msgid, dfault)[.](#2.sentence-1)

[ð](#lib:messages,close)

`void close(catalog cat) const;
`

[3](#3)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L4806)

*Effects*: Calls do_close(cat)[.](#3.sentence-1)
