On Mon, 28 Jan 2013 10:52:44 -0800 Pawel Aleksander Fedorynski <[email protected]> wrote:
PAF> Do you think we should just allow PAF> PAF> string s; PAF> sql << "select 3.14", into(s); PAF> PAF> or do you think some new syntax for extra type safety would be warranted, PAF> e.g., PAF> PAF> string s; PAF> sql << "select 3.14", into_string(s); PAF> PAF> ? I think we do need a different conversion function, i.e. something else than "into", otherwise things will become too confusing (definitely for humans, possibly for the compiler as well). I'm not sure about the name, "into_string" is probably fine but it could be misunderstood as meaning that there are also "into_number" and so on while this one is really quite special. So perhaps into_as_raw_text() or something like this would be more clear? Regards, VZ
pgprIJbqVVsP8.pgp
Description: PGP signature
------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d
_______________________________________________ soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
