is there any tristate type in c++ stl?
No, but there is boost tribool.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!