I agree with the OP here. What's going on these days is an attempt to acquire rights to a mere concept (an "effect", in essence) rather than some particular mechanism. Patenting a specific design for...
Type: Posts; User: Seabass
I agree with the OP here. What's going on these days is an attempt to acquire rights to a mere concept (an "effect", in essence) rather than some particular mechanism. Patenting a specific design for...
Most file selection widget API's provide some sort of regex support for filtering file types, too. Maybe that would be a more appropriate place to implement your listing logic?
Categorize by file extension or, if you're feeling really adventurous, create a set of file 'parsing' routines to identify the various 'signatures' common to certain file types (which can often be...
Instead of relying on arbitrary constants, why not just dynamically allocate/deallocate the string within the loop? It's a little more work, but given that the end result is a much more robust...
Maybe you're thinking of a const reference to a temporary?
It's not required by the standard, I think, but in practice that is typically how it's implemented, except for maybe string literals, which are generally stored in a static memory area.