As a beekeeper, I'll tell you it will depend largely on the time of year.
Honey bees (yes it's two words, not one word) are scavengers of choice. During most times in the spring, flowers are blooming in abundance. They'll choose flowers for nectar over your wort. When mid summer hits and temps start to rise, flowering plants stop producing nectar. At that point the honey bees will collect anything that is sweet. If you have a colony nearby, you can actually create a robbing frenzy, which is a mass fight over the food source, if you leave it out long enough and they are able to bring the sweet wort back to the hive and communicate to their sisters where the food source is. It typically takes a few hours for that to occur, so it usually isn't a problem.
Wasps, including yellow jackets, are carnivorous. They don't want carbohydrates. In the spring and early summer they want bugs and "meat." They ignore almost any sugar source. It's protein they want, not carbohydrates. However, as summer presses on, the colony gets larger and their need for food increases. At this point they become desperate. They begin switching to carbohydrates (sugars) as a food source over protein. That's why you notice yellow jackets as a problem more during 4th of July parties than Memorial Day parties.
Both usually don't cause a problem though.