Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G gtkmm-documentation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gtkmm-documentation
  • Merge requests
  • !2

Document the new make_managed() & prefer to use it / Use auto more in examples [master]

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Daniel Boles requested to merge wip/dboles/make_managed-etc-4 into master Oct 13, 2018
  • Overview 3
  • Commits 2
  • Changes 1

This accompanies the main gtkmm merge requests at gtkmm#33 (closed)

This performs creation and manage()ment in a single step and therefore
avoids the user having to write the discouraged new operator, looks more
like Standard C++ things like make_shared(), etc. So, move our examples
to it, and elaborate on why it is preferable to manage() or new/delete.

I got sidetracked and tacked on a subsequent commit that uses auto a lot more, in the new code and elsewhere. I can split that if anyone want.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/dboles/make_managed-etc-4