Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6111215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:36:18+00:00 2026-05-23T14:36:18+00:00

While studying the Qt framework, I’ve noticed that it’s littered with hundreds of overloaded

  • 0

While studying the Qt framework, I’ve noticed that it’s littered with hundreds of overloaded functions scattered among all its classes. This makes me wonder how much these functions contribute to the size of the libraries.

Without going through a tedious process of eliminating each overloaded function, is it possible to determine how much they effect the final size of each library?

This question is not related to any project or problem I am having. It is pure curiosity.

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:36:19+00:00Added an answer on May 23, 2026 at 2:36 pm

    In GCC the options to use are -ffunction-sections and -fdata-sections when compiling and –gc-sections when linking. This causes it to essentially create a graph of your program and drop any function, variable and so on that isn’t referenced.

    For shared libraries, the shared lib takes all the code – they’re all in there (if possibly externally referenced) and you can’t change it either way.

    If they’re essentially inline functions you are possibly even better off – they only serve to allow default parameters or such. Inline functions are also garbage collected with –gc-sections.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While studying the Collection API, we find that some methods ( add , remove
While studying C# in ASP.net I have trouble understanding several classes. In which scenario
I am studying the SCJP, and while studying I have found an exercise that
While studying for the 70-433 exam I noticed you can create a covering index
I'm new to Objective-C world. What I have noticed while studying some iOS/Mac apps
while studying some security things, there was a question that one can guess the
While studying about JMX, I have seen one of the important feature of it
While studying for the Zend PHP Exam I came across the following contradicting information:
I just saw this code while studying the wordpress source code (PHP), You can
I was trying to use the function glMultiDrawElements while studying OpenGL (using red book)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.