On 12.01.2010 16:55, Maciej Sobczak wrote:
>> So you say that developers decide not users. Am I right?
>
> Of course - and please do not take it as an insult, because that is a
> natural outcome of how SOCI was made.
>
> SOCI was not developed to meet anybody's requirements and in particular
> there was no "customer survey" before the development phase. SOCI was
> simply made by people who wanted to make it. If they did not see any
> reason to support all possible C++ integer types, then they just did not
> do it - it is that simple.
>
> Now we have a different situation - there is a library that is publicly
> available and it is judged by potential users (you).
> If you think that there is something missing in the library, phrase it
> like a valid concern - if you manage to convince the developers, then
> they will do the work.
>
Okay. I understand that completely even before asked the question. But... See
above....
>>
>> struct foo
>> {
>> unsigned int bar_;
>> unsigned short fee_;
>> }
>>
>> void some_work(foo& var, SOCI::Session& db)
>> {
>> db << "select bar, fee from some_table where bar = 0 limit 1;",
>> into(var.bar_), into(var.fee_);
>> }
>>
>> and must do
>>
>> void some_work(foo& var, SOCI::Session& db)
>> {
>> unsigned long fee;
>> short fee_;
>> db << "select bar, fee from some_table where bar = 0 limit 1;",
>> into(bar_), into(fee_);
>> var.fee_ = fee;
>> var.bar = bar_;
>> }
>
> Because there is no built-in support for all possible C++ types.
> And it is not there, because people who developed that part of the
> library thought that it is not needed.
Ok. Now, I, as user, request this ability in SOCI, because I actually use
these types. And I
think I not alone. I even can implement such a feature. Would you accept it?
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users