mirror of
https://github.com/topjohnwu/cxx.git
synced 2025-02-24 01:52:27 +00:00
Expose snake case type aliases
This commit is contained in:
parent
9ad1fbc478
commit
3b0c988059
@ -128,5 +128,10 @@ private:
|
||||
std::ostream &operator<<(std::ostream &os, const String &s);
|
||||
std::ostream &operator<<(std::ostream &os, const Str &s);
|
||||
|
||||
// Snake case aliases for use in code that uses this style for type names.
|
||||
using string = String;
|
||||
using str = Str;
|
||||
template <class T> using box = Box<T>;
|
||||
|
||||
} // namespace cxxbridge01
|
||||
} // namespace rust
|
||||
|
Loading…
x
Reference in New Issue
Block a user