How to find open and closed interval in c++

Hello. I want to find numbers lies in between (x, y) and [x, y]. I Googled for this and saw that it can be done using boost library. But I can not understand the synopsis. Please help me.
Last edited on
Topic archived. No new replies allowed.