Sorry about my very delayed response - things got pretty manic at work. Due to time constraints I have had to apply a patch (pretty much re-implemented the offending bit of code in a different,...
I have written a fairly large application with a small team of software engineers (~237kloc) over the last four years. In our development environment under Windows, the bug that I'm about to...
I think this issue you are having is that the type held by the vector v needs to match the type specified in the result of bind1st. Therefore if you change
That is a really helpful bit of research, thank you very much. I wonder why Microsoft don't state that they are non-compliant in a compiler warning or something.
That's a great page. A few years ago when I was having issues with exception specifications not doing what I'd expected, I came across that same article, and by the time I'd finished reading it, I...
For some reason that's not working. The library is not actually linking in the sections from boost thread that it requires when it links, therefore the final application is complaining that it needs...
Hi John, I must admit, I don't think I understand what you are saying. The code you posted (without adding an eof check) behaves how I would expect on VS2008... I end up with a vector that has...
I would probably use boost split. But if you don't want to use boost, with not much effort, you could write your own version of the split functionality found in boost. Something like the following...
I have heard that such things exist, but I've never tried one... given the amount of template code I write I'm beginning to think that it would be a good thing. Thanks for the advice.
Here is a reason, why a lot of companies will not encourage their employees to write non-trivial templates. If you ever get into policy based design with a bit of MTP mixed in, then expect to get...
As an aside to the question and responses already given, if you intend "cin >> str;" to put the whole line into str, then you might want to consider using