Comments (1)
Explicit conversion operators are a brand new C++11 feature, see Stroustrup's FAQ: http://www.stroustrup.com/C++11FAQ.html#explicit-convertion
I guess VS2012 didn't support that particular feature. I would recommend only defining NANODBC_USE_CPP11
if you have a compiler which fully supports the C++11 standard. Nanodbc should work just fine on VS2012 without needing NANODBC_USE_CPP11
to be defined. If you are getting this error when NANODBC_USE_CPP11
isn't defined, then that definitely needs to be fixed.
The functionality this provides is a simple way to test if a nanodbc::result
object is valid. For example:
nanodbc::result r;
...
if(!r)
something_went_wrong();
from nanodbc.
Related Issues (20)
- value exception throws when using batch-insert to insert one row HOT 3
- build fails as git submodule
- Add support for SQL_DRIVER_VER HOT 1
- The long string in the result read from the parquet file will be truncated. HOT 1
- Is there any other way to get the return value of a procedure? HOT 3
- Request advice on serializing result-sets to JSON HOT 6
- Encoding for query on SQLServer break characters
- nanodbc exceptions not containing all function output messages HOT 2
- error C2665: 'std::list<nanodbc::connection::attribute,std::allocator<nanodbc::connection::attribute>>::push_back': no overloaded function could convert all the argument types HOT 7
- Add CI jobs using Visual Studio 2022
- Invalid parameter number when using placeholder within a Common Table Expression HOT 1
- "Fetch type out of range" error when calling result.prior(), result.first(), result.last() or result.at_end() HOT 1
- Improve auto_bind_columns to recognise fine-grained types
- docs: Explore migration to hdoc.io for API reference
- FR: support sql-server datetimeoffset HOT 4
- Remove #if __GNUC__ conditions and its cases
- Compilation fails due to the use of deprecated features HOT 2
- Evaluate cmakelang project for formatting and linting CMake scripts
- Evaluate GHA get-cmake to easily install of CMake and Ninja for all workflows
- Invalid descriptor index HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanodbc.