Comments (6)
The problem is 0 can be either an integer or a NULL pointer.
The default constructor shouldn't be called. Use Vector::n() instead.
Original comment by [email protected]
on 10 Jul 2009 at 11:49
from igraphhpp.
So let me find some method to solve it.
Original comment by [email protected]
on 10 Jul 2009 at 4:41
from igraphhpp.
Can you block the use of default constructor for non-friend class? Or you may
change
it to initialize a vector of zero size.
It always create a potential trap of segmentation fault.
Original comment by [email protected]
on 11 Jul 2009 at 7:10
from igraphhpp.
The Vector now allow the pass of Vector(0) with int type. I think it is what we
want,
you may check about the use of it.
I don't know whether the trick is support by all compile or it is standard.
Check
int_ptr_overload.cpp
Original comment by [email protected]
on 11 Jul 2009 at 7:14
from igraphhpp.
@4:
Is that r104 & r105?
Original comment by [email protected]
on 24 Jul 2009 at 3:11
from igraphhpp.
r105, I just change the long to int and it works.
Original comment by [email protected]
on 25 Jul 2009 at 3:58
from igraphhpp.
Related Issues (13)
- Implement BA & ER model for simple (non-duplicating edge) graphs HOT 5
- interface of function call with multiple return value HOT 2
- Provide a link to the source code of each .cpp file in regression test HOT 2
- tasks
- Basis set operation of graph HOT 7
- segmentation in GraphWriter HOT 1
- design problem in the ReferenceVector HOT 1
- Branch, automatic test HOT 6
- seg fault while assigning graph to ReferenceVector<Graph> via operator [] HOT 1
- Remove g++-4.3_gnu++0x from the regression test. HOT 1
- bugs in resizing a ReferenceVector HOT 1
- Revise all XXINTRNL_TEMP_RETURN_PTRVEC HOT 1
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 igraphhpp.