File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1454,7 +1454,7 @@ int main() {
14541454
14551455 Great explanation: <http://stackoverflow.com/questions/3279543/what-is-the-copy-and-swap-idiom>
14561456
1457- Why swap should be afriend : <http://stackoverflow.com/questions/5695548/public-friend-swap-member-function>
1457+ Why swap should be a friend : <http://stackoverflow.com/questions/5695548/public-friend-swap-member-function>
14581458 */
14591459 {
14601460 CopyAndSwap c0 (2 , 2 );
Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ Basic example. Creates a shared and a static library from `a.c` and `b.c`.
44
55Used in the following answers:
66
7+ - https://stackoverflow.com/questions/3961446/why-does-gcc-not-implicitly-supply-the-fpic-flag-when-compiling-static-librarie/65005457#65005457
78- https://unix.stackexchange.com/questions/89211/how-to-test-whether-a-linux-binary-was-compiled-as-position-independent-code/435038#435038
89- https://unix.stackexchange.com/questions/226524/what-system-call-is-used-to-load-libraries-in-linux/462710#462710
You can’t perform that action at this time.
0 commit comments