mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 14:28:30 +00:00
Basic CTL shared_ptr implementation (#1267)
This commit is contained in:
parent
a6fe62cf13
commit
e1528a71e2
4 changed files with 708 additions and 0 deletions
|
@ -17,6 +17,9 @@ struct conditional<false, T, F>
|
|||
typedef F type;
|
||||
};
|
||||
|
||||
template<bool B, typename T, typename F>
|
||||
using conditional_t = typename conditional<B, T, F>::type;
|
||||
|
||||
} // namespace ctl
|
||||
|
||||
#endif // CTL_CONDITIONAL_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue