Results 1 to 2 of 2

Thread: some patches - std::exception, cl_vector, ostream, etc

  1. #1
    Squire
    Join Date
    Jun 2008
    Posts
    19

    Default some patches - std::exception, cl_vector, ostream, etc

    - make CL_Exception inherit std::exception [ hope I didn't muck this one up especially wrt throw specifications ].
    - catch-by-ref in the examples
    - let Vec2 be constructed from CL_Point
    - ostream<< for CL_Rectd and others
    - x11 little fix/optimization, invoke func_window_resize only on resize, not on move
    - rename CL_Rect::is_inside() to CL_Rect::contains()
    - add set_top_left() etc to CL_Rect

    edit: now with 8bit conversion for CL_Exception::what()
    Attached Files Attached Files
    Last edited by logixoul; 07-07-2008 at 01:53 PM. Reason: here we go

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Patch applied.

    Many thanks

Similar Threads

  1. Have CL_Error inherit from std::exception
    By SnT2k in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 06-24-2008, 06:57 AM
  2. Exception every time I try to move stuff
    By cpury in forum Novashell Game Creation System
    Replies: 9
    Last Post: 03-01-2007, 11:26 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •