Curiously, the copy constructor does compile. I'm getting ready to redesign some things to avoid the copy-assign, but I don't understand why this should be disallowed.
Thanks,
Matt Busche
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Never mind -- the last bit of compiler output was actually useful -- options_description has const data members that's breaking operator=(). That's annoying. I'm going to have to design around this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Why won't this compile?
g++ 4.8.4 on ubuntu gives this error:
Curiously, the copy constructor does compile. I'm getting ready to redesign some things to avoid the copy-assign, but I don't understand why this should be disallowed.
Thanks,
Matt Busche
Never mind -- the last bit of compiler output was actually useful -- options_description has const data members that's breaking operator=(). That's annoying. I'm going to have to design around this.