Chapter 32. Wild Pointers and Other Devilish Errors

    FAQ 32.01 What is a wild pointer?

    FAQ 32.02 What happens to a program that has even one wild pointer?

    FAQ 32.03 What does the compiler mean by the warning "Returning a reference to a local object"?

    FAQ 32.04 How should pointers across block boundaries be controlled?

    FAQ 32.05 Is the reference-versus-pointer issue influenced by whether or not the object is allocated from the heap?

    FAQ 32.06 When should C-style pointer casts be used?

    FAQ 32.07 Is it safe to bind a reference variable to a temporary object?

    FAQ 32.08 Should a parameter passed by const reference be returned by const reference?

    FAQ 32.09 Should template functions for things like min(x,y) or abs(x) return a const reference?

    FAQ 32.10 When is zero not necessarily zero?



C++ FAQs
C Programming FAQs: Frequently Asked Questions
ISBN: 0201845199
EAN: 2147483647
Year: 2005
Pages: 566
Authors: Steve Summit

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net