I made a bitset based string class and it has it's own getstring function. How can I make it so that whenever I call the object, It will call that function then return the result. I want it like the actual string class where you can just do std::cout << strobj; and it will just print the string. Currently whenever I call my bitstring object it requires a method. How do I make it like string's?
Thanks in advance